"Fossies" - the Fresh Open Source Software Archive

Member "leafnode-1.12.0/writes.c" (10 Jun 2013, 157 Bytes) of package /linux/misc/leafnode-1.12.0.tar.xz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "writes.c" see the Fossies "Dox" file reference documentation.

    1 #include "leafnode.h"
    3 #include <string.h>
    4 #include <unistd.h>
    6 ssize_t
    7 writes(int fd, const char *string)
    8 {
    9     return write(fd, string, strlen(string));
   10 }