The write system call produces output. The file descriptor 1 corresponds to standard output.The third argument is the number
of characters to write,and the return value is the number of characters that were actually written.
eg
write(1,"whatever\n", 11)= 11
|