From owner-freebsd-standards@FreeBSD.ORG Sat Jun 21 08:20:14 2003 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B252B37B401 for ; Sat, 21 Jun 2003 08:20:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42CF243F75 for ; Sat, 21 Jun 2003 08:20:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5LFKDUp065545 for ; Sat, 21 Jun 2003 08:20:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5LFKDLm065544; Sat, 21 Jun 2003 08:20:13 -0700 (PDT) Date: Sat, 21 Jun 2003 08:20:13 -0700 (PDT) Message-Id: <200306211520.h5LFKDLm065544@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Bruce M Simpson Subject: Re: docs/20528: sysconf(3) manpage doesn't mention posix.1b options X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bruce M Simpson List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2003 15:20:15 -0000 The following reply was made to PR docs/20528; it has been noted by GNATS. From: Bruce M Simpson To: freebsd-gnats-submit@FreeBSD.org Cc: mkb@altair.mayn.de, nik@freebsd.org, tjr@freebsd.org Subject: Re: docs/20528: sysconf(3) manpage doesn't mention posix.1b options Date: Sat, 21 Jun 2003 16:16:57 +0100 --BXr400anF0jyguTS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Here's a patch that adds the __POSIX_VISIBLE >= 199309 sysconf variables to our sysconf(3) manpage. BMS --BXr400anF0jyguTS Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sysconf.patch" Generated by diffcoll on Sat 21 Jun 2003 16:13:31 BST diff -uN src/lib/libc/gen/sysconf.3.orig src/lib/libc/gen/sysconf.3 --- /usr/src/lib/libc/gen/sysconf.3.orig Sat Jun 21 15:41:57 2003 +++ /usr/src/lib/libc/gen/sysconf.3 Sat Jun 21 16:13:21 2003 @@ -164,6 +164,84 @@ .It Li _SC_2_UPE Return 1 if the system supports the User Portability Utilities Option, otherwise \-1. +.It Li _SC_ASYNCHRONOUS_IO +Return 1 if the system supports Asynchronous I/O facilities as described in +.St -p1003.1 , +otherwise \-1. +.It Li _SC_MAPPED_FILES +Return 1 if the system supports memory mapped files, otherwise \-1. +.It Li _SC_MEMLOCK +Return 1 if the system supports process memory locking, otherwise \-1. +.It Li _SC_MEMLOCK_RANGE +Return 1 if the system supports range memory locking, otherwise \-1. +.It Li _SC_MEMORY_PROTECTION +Return 1 if the system supports memory protection, otherwise \-1. +.It Li _SC_MESSAGE_PASSING +Return 1 if the system supports POSIX message queues, otherwise \-1. +.It Li _SC_PRIORITIZED_IO +Return 1 if the system supports POSIX prioritized I/O, otherwise \-1. +.It Li _SC_PRIORITY_SCHEDULING +Return 1 if the system supports POSIX priority scheduling, otherwise \-1. +.It Li _SC_REALTIME_SIGNALS +Return 1 if the system supports POSIX realtime signals, otherwise \-1. +.It Li _SC_SEMAPHORES +Return 1 if the system supports POSIX semaphores, otherwise \-1. +.It Li _SC_FSYNC +Return 1 if the system supports file synchronization, otherwise \-1. +.It Li _SC_RAW_SOCKETS +Return 1 if the system supports +.Dv SOCK_RAW +style raw sockets, otherwise \-1. +.It Li _SC_SHARED_MEMORY_OBJECTS +Return 1 if the system supports POSIX shared memory objects, otherwise \-1. +.It Li _SC_SYNCHRONIZED_IO +Return 1 if the system supports POSIX synchronized I/O, otherwise \-1. +.It Li _SC_TIMERS +Return 1 if the system supports POSIX timers, otherwise \-1. +.It Li _SC_IPV6 +Return 1 if the system supports Internet Protocol version 6, otherwise \-1. +.It Li _SC_AIO_LISTIO_MAX +The maximum number of POSIX asynchronous I/O operations supported. +.It Li _SC_AIO_MAX +The maximum number of outstanding asynchronous I/O operations supported. +.It Li _SC_AIO_PRIO_DELTA_MAX +The maximum amount by which a process can decrease its asynchronous +I/O priority level from its own scheduling priority. +.It Li _SC_DELAYTIMER_MAX +The maximum number of timer expiration overruns permitted for each process. +.It Li _SC_MQ_OPEN_MAX +The maximum number of open POSIX message queues which a process may hold. +.It Li _SC_PAGESIZE +The system memory page size. +.It Li _SC_PAGE_SIZE +This is a synonym for +.Dv _SC_PAGESIZE . +.It Li _SC_RTSIG_MAX +The number of the highest POSIX realtime signal supported. +.It Li _SC_SEM_NSEMS_MAX +The maximum number of POSIX semaphores that a process may have. +.It Li _SC_SEM_VALUE_MAX +The maximum value that a POSIX semaphore may have. +.It Li _SC_SIGQUEUE_MAX +The maximum number of POSIX queued signals that a process may send and +have pending at receiver(s) at any given time. +.It Li _SC_TIMER_MAX +The maximum number of POSIX timers that a process may request. +.It Li _SC_NPROCESSORS_ONLN +The number of processors that are online and running in the system. +.It Li _SC_NPROCESSORS_CONF +The number of processors that are configured, but not +necessarily running, in the system. +.It Li _SC_IOV_MAX +The maximum number of iovec structures that one process may use with the +.Fn readv +and +.Fn writev +functions. +.It Li _SC_ATEXIT_MAX +The maximum number of functions that a process may register with the +.Fn atexit +function. .El .Sh RETURN VALUES If the call to --BXr400anF0jyguTS--