syscall write man function signature
man7.org·4h·
Flag this post

write(2)                   System Calls Manual                   write(2)

NAME top

write - write to a file descriptor

LIBRARY top

Standard C library (libc, -lc)

SYNOPSIS top

#include <unistd.h>

ssize_t write(size_t count;
int fd, const void buf[count], size_t count);

DESCRIPTION top

write() writes up to count bytes from the buffer starting at buf
to the file referred to by the file descriptor fd.

The number of bytes written may be less than count if, for
example, there is insufficient space on the underlying physical
medium, or the RLIMIT_FSIZE resource limit is encountered (see
setrlimit(2)), or the call was interrupted by a signal handler
after having wr...

Similar Posts

Loading similar posts...