| Hauptindex | Abschnitt 3 | Optionen |
#include <pwd.h> #include <stdio.h> #include <sys/types.h>struct passwd *fgetpwent(FILE *stream);
Die Struktur passwd ist in <pwd.h> wie folgt definiert:
struct passwd {
char *pw_name;/* Benutzername */
char *pw_passwd;/* Paßwort */
uid_t pw_uid;/* User ID */
gid_t pw_gid;/* Group ID */
char *pw_gecos; /* Name bzw. GECOS */
char *pw_dir; /* Home-Verzeichnis */
char *pw_shell; /* Loginshell */
};
| ENOMEM | Es ist nicht ausreichend Speicher vorhanden, um Speicher für eine passwd-Struktur zu alloziieren. |
| 27. Mai 1996 | FGETPWENT (3) | GNU |
| Hauptindex | Abschnitt 3 | Optionen |
Bitte richten Sie Ihre Kommentare zu diesem Handbuch Seite Service, Ben Bullock. Privacy policy.
| “ | Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps. | ” |
| — The Unix Haters' handbook | ||