summaryrefslogtreecommitdiff
path: root/src/utmpx
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-09 15:02:07 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-09 15:02:07 -0500
commit0a23f4a028db11797894e8defc1fa5320b736650 (patch)
tree739c63a9442baae3f8dbb7f9e6b73d99f298e249 /src/utmpx
parent7102128c92c78fd8ef77070f8185313f01f3768e (diff)
merge XOPEN identifiers
Diffstat (limited to 'src/utmpx')
-rw-r--r--src/utmpx/BOOT_TIME.c5
-rw-r--r--src/utmpx/DEAD_PROCESS.c5
-rw-r--r--src/utmpx/EMPTY.c5
-rw-r--r--src/utmpx/INIT_PROCESS.c5
-rw-r--r--src/utmpx/LOGIN_PROCESS.c5
-rw-r--r--src/utmpx/NEW_TIME.c5
-rw-r--r--src/utmpx/OLD_TIME.c5
-rw-r--r--src/utmpx/USER_PROCESS.c5
-rw-r--r--src/utmpx/endutxent.c9
-rw-r--r--src/utmpx/getutxent.c11
-rw-r--r--src/utmpx/getutxid.c11
-rw-r--r--src/utmpx/getutxline.c11
-rw-r--r--src/utmpx/pututxline.c11
-rw-r--r--src/utmpx/setutxent.c9
-rw-r--r--src/utmpx/struct_utmpx.c14
15 files changed, 116 insertions, 0 deletions
diff --git a/src/utmpx/BOOT_TIME.c b/src/utmpx/BOOT_TIME.c
new file mode 100644
index 00000000..99ade1be
--- /dev/null
+++ b/src/utmpx/BOOT_TIME.c
@@ -0,0 +1,5 @@
+#include <utmpx.h>
+#define BOOT_TIME /* TODO */
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/DEAD_PROCESS.c b/src/utmpx/DEAD_PROCESS.c
new file mode 100644
index 00000000..d36be234
--- /dev/null
+++ b/src/utmpx/DEAD_PROCESS.c
@@ -0,0 +1,5 @@
+#include <utmpx.h>
+#define DEAD_PROCESS /* TODO */
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/EMPTY.c b/src/utmpx/EMPTY.c
new file mode 100644
index 00000000..52722204
--- /dev/null
+++ b/src/utmpx/EMPTY.c
@@ -0,0 +1,5 @@
+#include <utmpx.h>
+#define EMPTY /* TODO */
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/INIT_PROCESS.c b/src/utmpx/INIT_PROCESS.c
new file mode 100644
index 00000000..865a1b67
--- /dev/null
+++ b/src/utmpx/INIT_PROCESS.c
@@ -0,0 +1,5 @@
+#include <utmpx.h>
+#define INIT_PROCESS /* TODO */
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/LOGIN_PROCESS.c b/src/utmpx/LOGIN_PROCESS.c
new file mode 100644
index 00000000..5a5cac5f
--- /dev/null
+++ b/src/utmpx/LOGIN_PROCESS.c
@@ -0,0 +1,5 @@
+#include <utmpx.h>
+#define LOGIN_PROCESS /* TODO */
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/NEW_TIME.c b/src/utmpx/NEW_TIME.c
new file mode 100644
index 00000000..3faf0ee8
--- /dev/null
+++ b/src/utmpx/NEW_TIME.c
@@ -0,0 +1,5 @@
+#include <utmpx.h>
+#define NEW_TIME /* TODO */
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/OLD_TIME.c b/src/utmpx/OLD_TIME.c
new file mode 100644
index 00000000..19bb6e51
--- /dev/null
+++ b/src/utmpx/OLD_TIME.c
@@ -0,0 +1,5 @@
+#include <utmpx.h>
+#define OLD_TIME /* TODO */
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/USER_PROCESS.c b/src/utmpx/USER_PROCESS.c
new file mode 100644
index 00000000..53b0c9fa
--- /dev/null
+++ b/src/utmpx/USER_PROCESS.c
@@ -0,0 +1,5 @@
+#include <utmpx.h>
+#define USER_PROCESS /* TODO */
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/endutxent.c b/src/utmpx/endutxent.c
new file mode 100644
index 00000000..f35dda04
--- /dev/null
+++ b/src/utmpx/endutxent.c
@@ -0,0 +1,9 @@
+#include <utmpx.h>
+
+void endutxent(void)
+{
+}
+
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/getutxent.c b/src/utmpx/getutxent.c
new file mode 100644
index 00000000..f853cdac
--- /dev/null
+++ b/src/utmpx/getutxent.c
@@ -0,0 +1,11 @@
+#include <utmpx.h>
+#include "stddef.h"
+
+struct utmpx * getutxent(void)
+{
+ return NULL;
+}
+
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/getutxid.c b/src/utmpx/getutxid.c
new file mode 100644
index 00000000..d761e288
--- /dev/null
+++ b/src/utmpx/getutxid.c
@@ -0,0 +1,11 @@
+#include <utmpx.h>
+#include "stddef.h"
+
+struct utmpx * getutxid(const struct utmpx *id)
+{
+ return NULL;
+}
+
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/getutxline.c b/src/utmpx/getutxline.c
new file mode 100644
index 00000000..40b2deb9
--- /dev/null
+++ b/src/utmpx/getutxline.c
@@ -0,0 +1,11 @@
+#include <utmpx.h>
+#include "stddef.h"
+
+struct utmpx * getutxline(const struct utmpx *line)
+{
+ return NULL;
+}
+
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/pututxline.c b/src/utmpx/pututxline.c
new file mode 100644
index 00000000..08cb3f51
--- /dev/null
+++ b/src/utmpx/pututxline.c
@@ -0,0 +1,11 @@
+#include <utmpx.h>
+#include "stddef.h"
+
+struct utmpx * pututxline(const struct utmpx *utmpx)
+{
+ return NULL;
+}
+
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/setutxent.c b/src/utmpx/setutxent.c
new file mode 100644
index 00000000..405d77cc
--- /dev/null
+++ b/src/utmpx/setutxent.c
@@ -0,0 +1,9 @@
+#include <utmpx.h>
+
+void setutxent(void)
+{
+}
+
+/*
+XOPEN(400)
+*/
diff --git a/src/utmpx/struct_utmpx.c b/src/utmpx/struct_utmpx.c
new file mode 100644
index 00000000..298a846e
--- /dev/null
+++ b/src/utmpx/struct_utmpx.c
@@ -0,0 +1,14 @@
+#include <utmpx.h>
+
+struct utmpx {
+ char ut_user[];
+ char ut_id[];
+ char ut_line[];
+ pid_t ut_pid;
+ short ut_type;
+ struct timeval ut_tv;
+};
+
+/*
+XOPEN(400)
+*/