|
|
1.1 root 1: /* (-lgl
2: * COHERENT Version 3.2.2
3: * Copyright (c) 1982, 1992 by Mark Williams Company.
4: * All rights reserved. May not be copied without permission.
5: -lgl) */
6: /*
7: * /usr/include/unistd.h
8: * Cf. Intel iBSC2, pp. 6-82, 6-83.
9: */
10:
11: #ifndef _UNISTD_H
12: #define _UNISTD_H
13:
14: /* Access modes. */
15: #define F_OK 0
16: #define X_OK 1
17: #define W_OK 2
18: #define R_OK 4
19:
20: /* lockf() commands. */
21: #define F_ULOCK 0 /* unlock region */
22: #define F_LOCK 1 /* sleep until available and lock */
23: #define F_TLOCK 2 /* lock if available, EAGAIN if not */
24: #define F_TEST 3 /* return 0 if available, EAGAIN if not */
25:
26: /* Seek positions. */
27: #define SEEK_SET 0 /* from beginning */
28: #define SEEK_CUR 1 /* from current position */
29: #define SEEK_END 2 /* from end */
30:
31: /* File descriptors for standard FILEs. */
32: #define STDIN_FILENO 0
33: #define STDOUT_FILENO 1
34: #define STDERR_FILENO 2
35:
36: #endif
37:
38: /* end of unistd.h */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.