source: trunk/athena/bin/lpr/nonposix.h @ 7907

Revision 7907, 610 bytes checked in by miki, 29 years ago (diff)
Initial revision
  • Property svn:executable set to *
Line 
1/*
2 * BSD functions which can't be realized in POSIX
3 */
4
5#if defined(i386) && defined(_POSIX_SOURCE)
6/*
7 * Missing error codes in 386BSD 0.1
8 */
9#define EADDRINUSE      48              /* Address already in use */
10#define ECONNREFUSED    61              /* Connection refused */
11#define EWOULDBLOCK     EAGAIN          /* Operation would block */
12
13/*
14 * Link specific stuff .. (used in lpd/printjob.c need some alternatives)
15 */
16#define S_IFMT   0170000                /* type of file */
17#define S_IFLNK  0120000                /* symbolic link */
18#define S_IFDIR  0040000                /* directory */
19#endif
20
21int chksize(int size);
22int isexec(int);
Note: See TracBrowser for help on using the repository browser.