ffsl(3) not in strings.h like manpage says
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
manpages (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: manpages
ffs/ffsl/ffsll(3) says all three bit-scan functions are available after defining _GNU_SOURCE and including strings.h. However, only POSIX ffs(int) is in strings.h. only string.h defines the GNU extension ffsl(long) and ffsll(long long).
So either fix the manpage or the header, please.
ii libc6-dev 2.8~20080505-
ProblemType: Bug
Architecture: i386
Dependencies: manpages 3.01-1
DistroRelease: Ubuntu 8.10
NonfreeKernelMo
Package: manpages-dev 3.01-1
PackageArchitec
ProcEnviron:
PATH=/
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: manpages
Uname: Linux 2.6.27-11-generic i686
Upsteam maintainer here. This report does not seem to be correct. The ffs(3) page does not make this claim, and I'm not sure that it ever did. The SYNOPSIS shows that including <string.h> is needed for ffsl () and ffsll(). (and _GNU_SOURCE must also be defined).