Date: Sun, 22 Sep 2002 17:44:23 -0600 (MDT) From: Mike Durian <durian@boogie.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/43270: select(2) man page missing <string.h> Message-ID: <200209222344.g8MNiNP9048145@man.boogie.com>
next in thread | raw e-mail | index | archive | help
>Number: 43270 >Category: kern >Synopsis: select(2) man page missing <string.h> >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 22 16:50:08 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Mike Durian >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD man.boogie.com 5.0-CURRENT FreeBSD 5.0-CURRENT #13: Wed Apr 17 18:47:08 MDT 2002 root@man.boogie.com:/usr/obj/usr/src/sys/BOOGIE i386 >Description: The select(2) man page needs to specify <string.h> as a dependent include file to cover the bzero(3) usage by FD_ZERO. >How-To-Repeat: Try to use FD_ZERO after only including the headers specified in the man page (-Wall required). >Fix: --- select.2.orig Sun Sep 22 17:32:02 2002 +++ select.2 Sun Sep 22 17:32:15 2002 @@ -43,6 +43,7 @@ .Sh SYNOPSIS .In sys/types.h .In sys/time.h +.In string.h .In unistd.h .Ft int .Fn select "int nfds" "fd_set *readfds" "fd_set *writefds" "fd_set *exceptfds" "struct timeval *timeout" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209222344.g8MNiNP9048145>