Beispiel #1
0
static inline void
_write_buffer(int fd, const MinimalBuffer *buffer)
{
    _write_string_len(fd, buffer->buffer, buffer->offset);
}
Beispiel #2
0
/*
 * write and read string
 */
void 
_write_string(char **pptr, const char *string) {
	_write_string_len(pptr, string, strlen(string));
}
Beispiel #3
0
static inline void
_write_string(int fd, const char *str)
{
    _write_string_len(fd, str, strlen(str));
}