tags 319113 wontfix thanks > Package: manpages-dev > Version: 2.02-2 > Severity: minor > > I am not a C programmer, so I may be misunderstanding some convention, > but the documentation in getservent(3) for s_port confused me. In the > man page, its type is given as int, however it is actually a 16 bit > value. It seems this ought to be mentioned to avoid confusion.
Hello Andrew, The detail you point out is IP-specific. On the other hand, the 'services' file is protocol independent (yes, it mostly only contains IP-related entries nowadays), and valid port number range could be different in some protocols. So, it's not really appropriate (IMO) to change this man page. (See by the way ip(7), where the 'u_int16_t' data type makes clear the 16-bit nature of the port number for IP). Cheers, Michael -- Michael Kerrisk maintainer of Linux man pages Sections 2, 3, 4, 5, and 7 Want to help with man page maintenance? Grab the latest tarball at ftp://ftp.win.tue.nl/pub/linux-local/manpages/ and grep the source files for 'FIXME'. GMX DSL = Maximale Leistung zum minimalen Preis! 2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]