File: write.c

package info (click to toggle)
newlib 4.4.0.20231231-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 73,736 kB
  • sloc: ansic: 500,769; makefile: 55,322; asm: 49,234; sh: 12,393; perl: 2,759; cpp: 1,064; python: 999; lisp: 720; exp: 359; xml: 40
file content (13 lines) | stat: -rw-r--r-- 181 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <_ansi.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "trap.h"


int
write ( int file,
	 char *ptr,
	 size_t len)
{
  return TRAP0 (SYS_write, file, ptr, len);
}