Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 1 | /* $Id: pconf.h,v 1.1 1996/12/02 00:09:10 davem Exp $ |
| 2 | * pconf.h: pathconf() and fpathconf() defines for SunOS |
| 3 | * system call compatibility. |
| 4 | * |
| 5 | * Copyright (C) 1995, 1996 David S. Miller (davem@caip.rutgers.edu) |
| 6 | */ |
| 7 | |
| 8 | #ifndef _SPARC64_PCONF_H |
| 9 | #define _SPARC64_PCONF_H |
| 10 | |
| 11 | #include <linux/fs.h> |
| 12 | #include <linux/limits.h> |
| 13 | |
| 14 | #define _PCONF_LINK 1 /* Max number of links to an object */ |
| 15 | #define _PCONF_CANON 2 /* TTY input buffer line size */ |
| 16 | #define _PCONF_INPUT 3 /* Biggest packet a tty can imbibe at once */ |
| 17 | #define _PCONF_NAME 4 /* Filename length max */ |
| 18 | #define _PCONF_PATH 5 /* Max size of a pathname */ |
| 19 | #define _PCONF_PIPE 6 /* Buffer size for a pipe */ |
| 20 | #define _PCONF_CHRESTRICT 7 /* Can only root chown files? */ |
| 21 | #define _PCONF_NOTRUNC 8 /* Are pathnames truncated if too big? */ |
| 22 | #define _PCONF_VDISABLE 9 /* Magic char to disable special tty chars */ |
| 23 | #define _PCONF_MAXPCONF 9 |
| 24 | |
| 25 | #endif /* !(_SPARC64_PCONF_H) */ |