This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FFS_EXPR


On Sunday, August 4, 2002, at 02:02 PM, Micah Nathan Moore wrote:

I am trying to learn the tree interface to gcc and I have
come across FFS_EXPR.  I have not been able to figure out
what type of expression this is.  I realize that I will
probably look/feel/be an idiot for not seeing what FFS
means, but I have to ask.
I don't see what relevance FFS has to anything you need to do or learn... There are many things in gcc that you will not have to learn, this is just one of those things. But if you really want to know, do man fss on a real system:

FS(3) System Library Functions Manual FFS(3)

NAME
ffs - find first bit set in a bit string

LIBRARY
Standard C Library (libc, -lc)

SYNOPSIS
#include <string.h>

int
ffs(int value);

DESCRIPTION
The ffs() function finds the first bit set in value and returns the index
of that bit. Bits are numbered starting from 1, starting at the right-
most bit. A return value of 0 means that the argument was zero.

SEE ALSO
bitstring(3)

HISTORY
The ffs() function appeared in 4.3BSD.

BSD April 19, 1994 BSD


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]