Thanks. I found that out with a fgrep in the /usr/include directory. But it is strange that it does not have a man page for it.
"Ole J. Tetlie" wrote: > >-Shao Zhang <[EMAIL PROTECTED]> > > > > I cannot find the shadow passwd in slink, anyone know here it is?? > > I need the function fgetspent, but man returns no manual entry > > found. I do have fgetpwent however. > > > > Could someone tell me which package I need to get in order to have > > this function?? > > My guess is that you already have it in libc. Try > > nm /usr/lib/libc.a | grep fgetspent > > I can't find any documentation either, but all you need > is in /usr/include/shadow.h. > > Include <shadow.h> and use fgetspent like you would use fgetpwent > except that it returns a struct spwd *. This struct is declared > in shadow.h > > -- > MS-DOS: Micro$oft Denial Of Service. The most popular denial of > service attack. It is commonly disguised as an operating system. > The easiest fix is to install a freenix. -- ____________________________________________________________________________ Shao Zhang - Running Debian 2.1 ___ _ _____ Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _____________________________________________________________________________