diff options
author | Gerrit Pape <pape@smarden.org> | 2003-10-28 12:06:44 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2003-10-28 12:06:44 +0000 |
commit | 72dfd7484b220331a212f19699db782a45bbae85 (patch) | |
tree | cda2a628580accbcd07f0ca38a3c9d7ef1033557 /src/uw_tmp.h1 | |
parent | e038f1f27785ec5ad48590a59d9ce3ba94f58f3c (diff) | |
download | runit-72dfd7484b220331a212f19699db782a45bbae85.tar.gz runit-72dfd7484b220331a212f19699db782a45bbae85.tar.xz runit-72dfd7484b220331a212f19699db782a45bbae85.zip |
* runsv.c: don't use EOVERFLOW as it is not standard (thx Christoph
Scheurer). * reboot_system.h1, reboot_system.h2, tryreboot.c: new; test if reboot() function takes one or two arguments (solaris). * runit.c: fallthrough stage 3: re-get stderr; sync() before reboot(). * uw_tmp.h1, uw_tmp.h2, tryuwtmp.c, tryuwtmpx.c: new; test for utmpx or utmp support. * utmpset.c: support systems with utmp or utmpx (solaris). * Makefile: adapt. * supports the solaris platform (thx Uffe Jakobsen). pre 0.11.4.
Diffstat (limited to 'src/uw_tmp.h1')
-rw-r--r-- | src/uw_tmp.h1 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/uw_tmp.h1 b/src/uw_tmp.h1 new file mode 100644 index 0000000..57231fb --- /dev/null +++ b/src/uw_tmp.h1 @@ -0,0 +1,9 @@ +#include <sys/types.h> +#include <utmp.h> + +/* sysdep: -utmpx */ + +#define UW_TMP_UFILE _PATH_UTMP +#define UW_TMP_WFILE _PATH_WTMP + +typedef struct utmp uw_tmp; |