Per IEEE 1003.1-2001, omit from <limits.h> those Pathname Variable Values
that may vary between filesystems: _POSIX_LINK_MAX, _POSIX_NAME_MAX, and _POSIX_PATH_MAX. These are to be obtained from pathconf() instead.
This commit is contained in:
parent
c6f042d6fc
commit
f745d16995
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: limits.h,v 1.14 2002/08/04 05:22:34 soren Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.15 2002/08/04 05:41:58 soren Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1993
|
||||
@ -41,14 +41,11 @@
|
||||
#if !defined(_ANSI_SOURCE)
|
||||
#define _POSIX_ARG_MAX 4096
|
||||
#define _POSIX_CHILD_MAX 6
|
||||
#define _POSIX_LINK_MAX 8
|
||||
#define _POSIX_LOGIN_NAME_MAX 9
|
||||
#define _POSIX_MAX_CANON 255
|
||||
#define _POSIX_MAX_INPUT 255
|
||||
#define _POSIX_NAME_MAX 14
|
||||
#define _POSIX_NGROUPS_MAX 0
|
||||
#define _POSIX_OPEN_MAX 16
|
||||
#define _POSIX_PATH_MAX 256
|
||||
#define _POSIX_PIPE_BUF 512
|
||||
#define _POSIX_SSIZE_MAX 32767
|
||||
#define _POSIX_STREAM_MAX 8
|
||||
|
Loading…
Reference in New Issue
Block a user