Mercurial > hg > toybox
comparison toys.h @ 572:8a88a9e3c30b
Adding initial version of login.c
author | Elie De Brauwer <eliedebrauwer@gmail.com> |
---|---|
date | Tue, 24 Apr 2012 23:09:27 +0200 |
parents | 9530899eee51 |
children | d8effa95a5f0 |
comparison
equal
deleted
inserted
replaced
571:1a06fcaa1775 | 572:8a88a9e3c30b |
---|---|
6 | 6 |
7 #include "generated/config.h" | 7 #include "generated/config.h" |
8 | 8 |
9 #include "lib/portability.h" | 9 #include "lib/portability.h" |
10 | 10 |
11 #include <crypt.h> | |
11 #include <ctype.h> | 12 #include <ctype.h> |
12 #include <dirent.h> | 13 #include <dirent.h> |
13 #include <errno.h> | 14 #include <errno.h> |
14 #include <fcntl.h> | 15 #include <fcntl.h> |
15 #include <grp.h> | 16 #include <grp.h> |
19 #include <math.h> | 20 #include <math.h> |
20 #include <pty.h> | 21 #include <pty.h> |
21 #include <pwd.h> | 22 #include <pwd.h> |
22 #include <sched.h> | 23 #include <sched.h> |
23 #include <setjmp.h> | 24 #include <setjmp.h> |
25 #include <shadow.h> | |
24 #include <stdarg.h> | 26 #include <stdarg.h> |
25 #include <stdint.h> | 27 #include <stdint.h> |
26 #include <stdio.h> | 28 #include <stdio.h> |
27 #include <stdlib.h> | 29 #include <stdlib.h> |
28 #include <string.h> | 30 #include <string.h> |
35 #include <sys/sysinfo.h> | 37 #include <sys/sysinfo.h> |
36 #include <sys/swap.h> | 38 #include <sys/swap.h> |
37 #include <sys/types.h> | 39 #include <sys/types.h> |
38 #include <sys/utsname.h> | 40 #include <sys/utsname.h> |
39 #include <sys/wait.h> | 41 #include <sys/wait.h> |
42 #include <syslog.h> | |
40 #include <unistd.h> | 43 #include <unistd.h> |
41 #include <utime.h> | 44 #include <utime.h> |
42 #include <utmpx.h> | 45 #include <utmpx.h> |
43 | 46 |
44 #undef _XOPEN_SOURCE | 47 #undef _XOPEN_SOURCE |