libgit2

git_stream_write_cb

Version:

Write to the stream

Signature

typedef ssize_t git_stream_write_cb(git_stream *stream, const char *data, size_t len, int flags);

Parameters

In
stream

the stream to write to

const char *
In
data

the data to write

size_t
In
len

the length of the data to write

int
In
flags

the write flags

Returns

ssize_t

the number of bytes written, or an error code

Versions