Mercurial > hg > toybox
comparison lib/pending.h @ 1391:6a06541c090c draft
Use libc daemon() instead of pending daemonize.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 17 Jul 2014 22:50:49 -0500 |
parents | e65f9a9ba62d |
children | ed28d4d9558d |
comparison
equal
deleted
inserted
replaced
1390:c18ad59ae442 | 1391:6a06541c090c |
---|---|
5 #define SYS_FIRST_ID 100 | 5 #define SYS_FIRST_ID 100 |
6 #define SYS_LAST_ID 999 | 6 #define SYS_LAST_ID 999 |
7 void is_valid_username(const char *name); | 7 void is_valid_username(const char *name); |
8 int read_password(char * buff, int buflen, char* mesg); | 8 int read_password(char * buff, int buflen, char* mesg); |
9 int update_password(char *filename, char* username, char* encrypted); | 9 int update_password(char *filename, char* username, char* encrypted); |
10 | |
11 // cut helper functions | |
12 void daemonize(void); |