|
|||||||
|
|
GETPWSection: Bibliotheksfunktionen (3)Updated: 27. Mai 1996 Index Return to Main Contents BEZEICHNUNGgetpw - Re-konstruiere eine PaßwortdateieintragÜBERSICHT#include <pwd.h> #include <sys/types.h>int getpw(uid_t uid, char *buf); BESCHREIBUNGDie Funktion getpw() re-konstruiert eine Zeile in der Paßwortdatei im Puffer buf für die angegebene User ID uid. Der zurückgegebene Puffer enthält eine Zeile mit folgendem Format:
Die Struktur passwd ist in <pwd.h> wie folgt definiert:
RÜCKGABEWERTDie Funktion getpw() gibt bei Erfolg 0 zurück und -1, wenn ein Fehler aufgetreten ist.FEHLER
DATEIEN
SIEHE AUCHfgetpwent(3), getpwent(3), setpwent(3), endpwent(3), getpwnam(3), getpwuid(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. |