⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 utmp.h

📁 KPIT GNU Tools is a set of GNU development tools for Renesas microcontrollers.
💻 H
字号:
/* libc/sys/linux/sys/utmp.h - utmp structure *//* Written 2000 by Werner Almesberger *//* Some things copied from glibc's /usr/include/bits/utmp.h */#ifndef _SYS_UTMP_H#define _SYS_UTMP_H#include <sys/types.h>#define UTMP_FILE "/var/run/utmp"#define UT_LINESIZE	32#define UT_NAMESIZE	32#define UT_HOSTSIZE	256struct utmp {    short int ut_type;    pid_t ut_pid;    char ut_line[UT_LINESIZE];    char ut_id[4];    char ut_user[UT_NAMESIZE];    char ut_host[UT_HOSTSIZE];    char __filler[52];};#define RUN_LVL		1#define BOOT_TIME	2#define NEW_TIME	3#define OLD_TIME	4#define INIT_PROCESS	5#define LOGIN_PROCESS	6#define USER_PROCESS	7#define DEAD_PROCESS	8/* --- redundant, from sys/cygwin/sys/utmp.h --- */struct utmp *_getutline (struct utmp *);struct utmp *getutent (void);struct utmp *getutid (struct utmp *);struct utmp *getutline (struct utmp *);void endutent (void);void pututline (struct utmp *);void setutent (void);void utmpname (const char *);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -