Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: fusl/include/utmpx.h

Issue 1715493002: [fusl] Update fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/include/utmp.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef _UTMPX_H 1 #ifndef _UTMPX_H
2 #define _UTMPX_H 2 #define _UTMPX_H
3 3
4 #ifdef __cplusplus 4 #ifdef __cplusplus
5 extern "C" { 5 extern "C" {
6 #endif 6 #endif
7 7
8 #include <features.h> 8 #include <features.h>
9 9
10 #define __NEED_pid_t 10 #define __NEED_pid_t
(...skipping 25 matching lines...) Expand all
36 struct utmpx *getutxent(void); 36 struct utmpx *getutxent(void);
37 struct utmpx *getutxid(const struct utmpx *); 37 struct utmpx *getutxid(const struct utmpx *);
38 struct utmpx *getutxline(const struct utmpx *); 38 struct utmpx *getutxline(const struct utmpx *);
39 struct utmpx *pututxline(const struct utmpx *); 39 struct utmpx *pututxline(const struct utmpx *);
40 void setutxent(void); 40 void setutxent(void);
41 41
42 #if defined(_BSD_SOURCE) | defined(_GNU_SOURCE) 42 #if defined(_BSD_SOURCE) | defined(_GNU_SOURCE)
43 #define e_exit __e_exit 43 #define e_exit __e_exit
44 #define e_termination __e_termination 44 #define e_termination __e_termination
45 void updwtmpx(const char *, const struct utmpx *); 45 void updwtmpx(const char *, const struct utmpx *);
46 int utmpxname(const char *);
46 #endif 47 #endif
47 48
48 #define EMPTY 0 49 #define EMPTY 0
49 #define RUN_LVL 1 50 #define RUN_LVL 1
50 #define BOOT_TIME 2 51 #define BOOT_TIME 2
51 #define NEW_TIME 3 52 #define NEW_TIME 3
52 #define OLD_TIME 4 53 #define OLD_TIME 4
53 #define INIT_PROCESS 5 54 #define INIT_PROCESS 5
54 #define LOGIN_PROCESS 6 55 #define LOGIN_PROCESS 6
55 #define USER_PROCESS 7 56 #define USER_PROCESS 7
56 #define DEAD_PROCESS 8 57 #define DEAD_PROCESS 8
57 58
58 #ifdef __cplusplus 59 #ifdef __cplusplus
59 } 60 }
60 #endif 61 #endif
61 62
62 #endif 63 #endif
OLDNEW
« no previous file with comments | « fusl/include/utmp.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698