[Bug 321339] Re: ffsl(3) not in strings.h like manpage says

Michael Kerrisk mtk.manpages at gmail.com
Mon May 19 11:19:11 UTC 2014


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).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to manpages in Ubuntu.
https://bugs.launchpad.net/bugs/321339

Title:
  ffsl(3) not in strings.h like manpage says

Status in “manpages” package in Ubuntu:
  New

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-0ubuntu8 GNU C Library:
  Development Libraries and Header Files

  ProblemType: Bug
  Architecture: i386
  Dependencies: manpages 3.01-1
  DistroRelease: Ubuntu 8.10
  NonfreeKernelModules: ath_hal
  Package: manpages-dev 3.01-1
  PackageArchitecture: all
  ProcEnviron:
   PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: manpages
  Uname: Linux 2.6.27-11-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/321339/+subscriptions



More information about the foundations-bugs mailing list