We support the POSIX Clock Selection Option.

This commit is contained in:
rpaulo 2006-08-14 18:14:19 +00:00
parent 87dd042f7a
commit 13a593e7c8
2 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: sysconf.3,v 1.31 2004/11/10 04:21:25 lukem Exp $
.\" $NetBSD: sysconf.3,v 1.32 2006/08/14 18:14:19 rpaulo Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@ -29,7 +29,7 @@
.\"
.\" @(#)sysconf.3 8.3 (Berkeley) 4/19/94
.\"
.Dd November 10, 2004
.Dd August 14, 2006
.Dt SYSCONF 3
.Os
.Sh NAME
@ -74,6 +74,12 @@ and its
Barriers
option to which the system attempts to conform,
otherwise \-1.
.It Li _SC_CLOCK_SELECTION
Return the
.Tn POSIX
version the implementation of the Clock Selection Option
on this system conforms to,
or \-1 if unavailable.
.It Li _SC_CHILD_MAX
The maximum number of simultaneous processes per user id.
.It Li _SC_CLK_TCK

View File

@ -1,4 +1,4 @@
/* $NetBSD: unistd.h,v 1.33 2005/12/11 12:25:21 christos Exp $ */
/* $NetBSD: unistd.h,v 1.34 2006/08/14 18:14:19 rpaulo Exp $ */
/*
* Copyright (c) 1989, 1993
@ -63,6 +63,8 @@
/* execution-time symbolic constants */
/* chown requires appropriate privileges */
#define _POSIX_CHOWN_RESTRICTED 1
/* clock selection */
#define _POSIX_CLOCK_SELECTION 200112L
/* too-long path components generate errors */
#define _POSIX_NO_TRUNC 1
/* may disable terminal special characters */
@ -193,6 +195,7 @@
#define _SC_READER_WRITER_LOCKS 46
#define _SC_GETGR_R_SIZE_MAX 47
#define _SC_GETPW_R_SIZE_MAX 48
#define _SC_CLOCK_SELECTION 49
/* configurable system strings */
#define _CS_PATH 1