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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help