File: write.c

package info (click to toggle)
newlib 1.12.0.20041202-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 41,384 kB
  • ctags: 33,862
  • sloc: ansic: 321,125; makefile: 37,809; asm: 19,759; sh: 11,033; perl: 2,320; yacc: 432; lisp: 394; exp: 322; lex: 114; cpp: 37; awk: 25
file content (24 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Stub version of write.
 */

#include "config.h"
#include <_ansi.h>
#include <_syslist.h>
#include <errno.h>
#undef errno
extern int errno;
#include "warning.h"

int
_DEFUN (_write, (file, ptr, len),
        int   file  _AND
        char *ptr   _AND
        int   len)
{
  errno = ENOSYS;
  return -1;
}

stub_warning(_write)