File: sys.std.h

package info (click to toggle)
9base 1%3A2-8
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,120 kB
  • ctags: 3,522
  • sloc: ansic: 34,477; yacc: 1,623; makefile: 373; sh: 48; asm: 8
file content (22 lines) | stat: -rw-r--r-- 514 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <utf.h>
#include <fmt.h>
#include <bio.h>
#include <regexp9.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <ctype.h>
#include <time.h>

#define OREAD		O_RDONLY
#define OWRITE	O_WRONLY
#define ORDWR	O_RDWR
#define nil 0
#define nelem(x) (sizeof(x)/sizeof((x)[0]))
#define seek lseek
#define remove unlink
#define exits(x)	exit(x && *(char*)x ? 1 : 0)
#define USED(x)	if(x){}else
#define create(name, mode, perm)	open(name, mode|O_CREAT, perm)
#define ERRMAX	256