version 1.30, 2021/07/12 15:09:20 |
version 1.31, 2021/11/10 15:06:24 |
|
|
#include <unistd.h> |
#include <unistd.h> |
#include <time.h> |
#include <time.h> |
#include <err.h> |
#include <err.h> |
#include <locale.h> |
|
|
|
void output(struct utmp *); |
void output(struct utmp *); |
void output_labels(void); |
void output_labels(void); |
|
|
FILE *ufp; |
FILE *ufp; |
char *t; |
char *t; |
int c; |
int c; |
|
|
setlocale(LC_ALL, ""); |
|
|
|
if (pledge("stdio unveil rpath getpw", NULL) == -1) |
if (pledge("stdio unveil rpath getpw", NULL) == -1) |
err(1, "pledge"); |
err(1, "pledge"); |