diff options
author | Rob Landley <rob@landley.net> | 2012-07-17 08:54:47 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-07-17 08:54:47 -0500 |
commit | 2c917f5acc008e73b367ecf82402b5eac08db10c (patch) | |
tree | 6ce5d5675ad250648ce8c7828c642540f8587f70 /lib/lib.h | |
parent | c8d0da5358832ab0e24bafc01b934b68f64ec12d (diff) | |
download | toybox-2c917f5acc008e73b367ecf82402b5eac08db10c.tar.gz |
Add passwd by Kyungwan Han.
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -168,3 +168,8 @@ int sig_to_num(char *pidstr); char *num_to_sig(int sig); mode_t string_to_mode(char *mode_str, mode_t base); + +// password helper functions +int read_passwd(char * buff, int buflen, char* mesg); +int update_passwd(char *filename, char* username, char* encrypted); + |