|
|||||||
|
|
FGETPWENTSection: Bibliotheksfunktionen (3)Updated: 27. Mai 1996 Index Return to Main Contents BEZEICHNUNGfgetpwent - arbeite mit PaßworteintragÜBERSICHT#include <pwd.h> #include <stdio.h> #include <sys/types.h> struct passwd *fgetpwent(FILE *stream); BESCHREIBUNGDie Funktion fgetpwent() gibt einen Zeiger auf eine Struktur zurück, die den Inhalt einer Zeile der Datei stream repräsentiert. Beim ersten Aufruf wird der erste Eintrag zurückgegeben, bei weiteren die nachfolgenden. Die Datei stream muß das gleiche Format wie die Paßwortdatei /etc/passwd haben.Die Struktur passwd ist in <pwd.h> wie folgt definiert:
RÜCKGABEWERTDie Funktion fgetpwent() gibt die passwd-struktur zurück oder NULL, wenn keine weiteren Einträge vorhanden sind.FEHLER
KONFORM ZUSVID 3SIEHE AUCHgetpwnam(3), getpwuid(3), getpwent(3), setpwent(3), endpwent(3), getpw(3), putpwent(3), passwd(5).
Index | ||||||
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "Linuxinfor Man Pages in HTML Format: man3". See Index Page for more info about Authorship and Copyright. 1999-2008 Linuxinfor.com. No rights reserved. |