Module Name: src Committed By: riastradh Date: Mon Sep 9 01:20:20 UTC 2024
Modified Files: src/lib/libc/sys: select.2 Log Message: select(2): Cite standards conformance in man page. (Should we cite the earliest standard, or the most recent standard, if they're the same as far as anyone has noticed?) PR standards/49999: the history and standards conformance of pselect(2) is not documented To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/lib/libc/sys/select.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/select.2 diff -u src/lib/libc/sys/select.2:1.45 src/lib/libc/sys/select.2:1.46 --- src/lib/libc/sys/select.2:1.45 Tue Aug 1 23:33:04 2023 +++ src/lib/libc/sys/select.2 Mon Sep 9 01:20:20 2024 @@ -1,4 +1,4 @@ -.\" $NetBSD: select.2,v 1.45 2023/08/01 23:33:04 gutteridge Exp $ +.\" $NetBSD: select.2,v 1.46 2024/09/09 01:20:20 riastradh Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)select.2 8.2 (Berkeley) 3/25/94 .\" -.Dd August 1, 2023 +.Dd September 9, 2024 .Dt SELECT 2 .Os .Sh NAME @@ -268,6 +268,21 @@ One of its components is negative or too .Xr send 2 , .Xr write 2 , .Xr getdtablesize 3 +.Sh STANDARDS +The +.Fn select +function, along with +.Fn FD_CLR , +.Fn FD_ISSET , +.Fn FD_SET , and +.Fn FD_ZERO , +conforms to +.St -xpg4.2 . +.Pp +The +.Fn pselect +function conforms to +.St -p1003.1-2004 . .Sh HISTORY The .Fn select