3 Copyright 1996, 1997, 1998 Cygnus Solutions.
5 This file is part of Cygwin.
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
19 /* sysconf: POSIX 4.8.1.1 */
20 /* Allows a portable app to determine quantities of resources or
21 presence of an option at execution time. */
28 /* FIXME: what's the right value? _POSIX_ARG_MAX is only 4K */
31 /* FIXME: this returns the current limit which can increase
32 if and when dtable::find_unused_handle is called. Perhaps
33 we should return NOFILE or OPEN_MAX instead? */
42 return CLOCKS_PER_SEC;
44 return _POSIX_JOB_CONTROL;
50 return _POSIX_SAVED_IDS;
52 return _POSIX_VERSION;
53 #if 0 /* FIXME -- unimplemented */
55 return _POSIX_TZNAME_MAX;
57 return _POSIX_STREAM_MAX;
61 /* Invalid input or unimplemented sysconf name */