Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!uw-june!uw-entropy!mica!charlie From: charlie@mica.stat.washington.edu (Charlie Geyer) Newsgroups: comp.lang.c Subject: Re: Re^2: retiring gets(3) Message-ID: <1078@entropy.ms.washington.edu> Date: 26 Nov 88 23:07:01 GMT References: <5450@saturn.ucsc.edu> <225800095@uxe.cso.uiuc.edu> <1704@solo9.cs.vu.nl> <4881@boulder.Colorado.EDU> Sender: news@entropy.ms.washington.edu Reply-To: charlie@mica.stat.washington.edu (Charlie Geyer) Organization: UW Statistics, Seattle Lines: 15 In article <4881@boulder.Colorado.EDU> swarbric@tramp.Colorado.EDU (Frank Swarbrick) writes: > It's a very legitimate question if you don't have much experience with > UNIX. The only thing I use UNIX for is reading these messages, and I > have no idea what the '3' means, though I do know that it's not meant > as a parameter. It's which section of UNIX manual the documentation is in. Some commands/functions appear in more than one section of the manual. There is a chmod(1), a chmod(2), and a chmod(3F), for example. "man chmod" gets the first, "man 2 chmod" the second, and "man 3 chmod" the third. The first is the UNIX command executed from the shell, the second programs callable from C, and the third is callable from FORTRAN. (Of course there only one gets so "gets(3S)" is not really necessary, but the UNIX manuals always refers to is that way.)