File: pconf.h

package info (click to toggle)
kernel-source-2.0.38 2.0.38-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 34,660 kB
  • ctags: 102,964
  • sloc: ansic: 632,204; asm: 26,444; makefile: 4,286; sh: 1,276; perl: 761; tcl: 408; cpp: 277; lisp: 211; awk: 134
file content (25 lines) | stat: -rw-r--r-- 1,043 bytes parent folder | download | duplicates (34)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* $Id: pconf.h,v 1.3 1996/04/25 06:13:25 davem Exp $
 * pconf.h: pathconf() and fpathconf() defines for SunOS
 *          system call compatibility.
 *
 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
 */

#ifndef _SPARC_PCONF_H
#define _SPARC_PCONF_H

#include <linux/fs.h>
#include <linux/limits.h>

#define _PCONF_LINK       1 /* Max number of links to an object        */
#define _PCONF_CANON      2 /* TTY input buffer line size              */
#define _PCONF_INPUT      3 /* Biggest packet a tty can imbibe at once */
#define _PCONF_NAME       4 /* Filename length max                     */
#define _PCONF_PATH       5 /* Max size of a pathname                  */
#define _PCONF_PIPE       6 /* Buffer size for a pipe                  */
#define _PCONF_CHRESTRICT 7 /* Can only root chown files?              */
#define _PCONF_NOTRUNC    8 /* Are pathnames truncated if too big?     */
#define _PCONF_VDISABLE   9 /* Magic char to disable special tty chars */
#define _PCONF_MAXPCONF   9

#endif /* !(_SPARC_PCONF_H) */