File: writes.c

package info (click to toggle)
leafnode 1.11.5-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,356 kB
  • ctags: 576
  • sloc: ansic: 10,626; sh: 4,107; xml: 637; makefile: 281; perl: 84; sed: 4
file content (10 lines) | stat: -rw-r--r-- 157 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#include <string.h>
#include <unistd.h>

#include "leafnode.h"

ssize_t
writes(int fd, const char *string)
{
    return write(fd, string, strlen(string));
}