Skip to content

Add blitv function#41

Closed
avsm wants to merge 1 commit into
mirage:masterfrom
avsm:master
Closed

Add blitv function#41
avsm wants to merge 1 commit into
mirage:masterfrom
avsm:master

Conversation

@avsm
Copy link
Copy Markdown
Member

@avsm avsm commented Jan 23, 2015

val blitv: t list -> t -> int * t list
(** [blitv src dst] will copy the list of [src] buffers into [dst] and
    return a tuple of the total number of bytes written and a list of
    any uncopied buffers.  [blitv] will never raise an exception, since
    it returns any uncopied bytes if the [dst] buffer is not big enough
    to fit the full list of [src] buffers. *)

via @talex5 in mirage/mirage-net-xen#17

```
val blitv: t list -> t -> int * t list
(** [blitv src dst] will copy the list of [src] buffers into [dst] and
    return a tuple of the total number of bytes written and a list of
    any uncopied buffers.  [blitv] will never raise an exception, since
    it returns any uncopied bytes if the [dst] buffer is not big enough
    to fit the full list of [src] buffers. *)
```

via @talex5 in mirage/mirage-net-xen#17
@talex5
Copy link
Copy Markdown
Contributor

talex5 commented Jan 23, 2015

I already made a PR for this (but renamed the function):

#40

@avsm
Copy link
Copy Markdown
Member Author

avsm commented Jan 23, 2015

Woops!

On 23 Jan 2015, at 18:03, Thomas Leonard notifications@github.com wrote:

I already made a PR for this (but renamed the function):

#40


Reply to this email directly or view it on GitHub.

@samoht samoht mentioned this pull request Jan 23, 2015
@avsm avsm closed this Jan 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants