Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /usr/include/bits/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/include/bits/utmpx.h
/* Structures and definitions for the user accounting database.  GNU version.
   Copyright (C) 1997-2018 Free Software Foundation, Inc.
   This file is part of the GNU C Library.

   The GNU C Library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.

   The GNU C Library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public
   License along with the GNU C Library; if not, see
   <http://www.gnu.org/licenses/>.  */

#ifndef _UTMPX_H
# error "Never include <bits/utmpx.h> directly; use <utmpx.h> instead."
#endif

#include <bits/types.h>
#include <sys/time.h>
#include <bits/wordsize.h>


#ifdef __USE_GNU
# include <paths.h>
# define _PATH_UTMPX	_PATH_UTMP
# define _PATH_WTMPX	_PATH_WTMP
#endif


#define __UT_LINESIZE	32
#define __UT_NAMESIZE	32
#define __UT_HOSTSIZE	256


/* The structure describing the status of a terminated process.  This
   type is used in `struct utmpx' below.  */
struct __exit_status
  {
#ifdef __USE_GNU
    short int e_termination;	/* Process termination status.  */
    short int e_exit;		/* Process exit status.  */
#else
    short int __e_termination;	/* Process termination status.  */
    short int __e_exit;		/* Process exit status.  */
#endif
  };


/* The structure describing an entry in the user accounting database.  */
struct utmpx
{
  short int ut_type;		/* Type of login.  */
  __pid_t ut_pid;		/* Process ID of login process.  */
  char ut_line[__UT_LINESIZE]
    __attribute_nonstring__;	/* Devicename.  */
  char ut_id[4]
    __attribute_nonstring__;	/* Inittab ID.  */
  char ut_user[__UT_NAMESIZE]
    __attribute_nonstring__;	/* Username.  */
  char ut_host[__UT_HOSTSIZE]
    __attribute_nonstring__;	/* Hostname for remote login.  */
  struct __exit_status ut_exit;	/* Exit status of a process marked
				   as DEAD_PROCESS.  */

/* The fields ut_session and ut_tv must be the same size when compiled
   32- and 64-bit.  This allows files and shared memory to be shared
   between 32- and 64-bit applications.  */
#if __WORDSIZE_TIME64_COMPAT32
  __int32_t ut_session;		/* Session ID, used for windowing.  */
  struct
  {
    __int32_t tv_sec;		/* Seconds.  */
    __int32_t tv_usec;		/* Microseconds.  */
  } ut_tv;			/* Time entry was made.  */
#else
  long int ut_session;		/* Session ID, used for windowing.  */
  struct timeval ut_tv;		/* Time entry was made.  */
#endif
  __int32_t ut_addr_v6[4];	/* Internet address of remote host.  */
  char __glibc_reserved[20];		/* Reserved for future use.  */
};


/* Values for the `ut_type' field of a `struct utmpx'.  */
#define EMPTY		0	/* No valid user accounting information.  */

#ifdef __USE_GNU
# define RUN_LVL	1	/* The system's runlevel.  */
#endif
#define BOOT_TIME	2	/* Time of system boot.  */
#define NEW_TIME	3	/* Time after system clock changed.  */
#define OLD_TIME	4	/* Time when system clock changed.  */

#define INIT_PROCESS	5	/* Process spawned by the init process.  */
#define LOGIN_PROCESS	6	/* Session leader of a logged in user.  */
#define USER_PROCESS	7	/* Normal process.  */
#define DEAD_PROCESS	8	/* Terminated process.  */

#ifdef __USE_GNU
# define ACCOUNTING	9	/* System accounting.  */
#endif
Name
Size
Permissions
Options
types
--
drwxr-xr-x
a.out.h
0.262 KB
-rw-r--r--
byteswap.h
2.392 KB
-rw-r--r--
cmathcalls.h
4.041 KB
-rw-r--r--
confname.h
23.152 KB
-rw-r--r--
cpu-set.h
4.409 KB
-rw-r--r--
dirent.h
1.729 KB
-rw-r--r--
dlfcn.h
2.461 KB
-rw-r--r--
elfclass.h
0.416 KB
-rw-r--r--
endian.h
0.172 KB
-rw-r--r--
environments.h
3.701 KB
-rw-r--r--
epoll.h
1.045 KB
-rw-r--r--
errno.h
1.392 KB
-rw-r--r--
error.h
2.62 KB
-rw-r--r--
eventfd.h
1.102 KB
-rw-r--r--
fcntl-linux.h
13.391 KB
-rw-r--r--
fcntl.h
2.192 KB
-rw-r--r--
fcntl2.h
5.443 KB
-rw-r--r--
fenv.h
4.497 KB
-rw-r--r--
fenvinline.h
0.186 KB
-rw-r--r--
floatn-common.h
9.535 KB
-rw-r--r--
floatn.h
4.27 KB
-rw-r--r--
flt-eval-method.h
1.186 KB
-rw-r--r--
fp-fast.h
1.187 KB
-rw-r--r--
fp-logb.h
0.987 KB
-rw-r--r--
getopt_core.h
3.58 KB
-rw-r--r--
getopt_ext.h
2.966 KB
-rw-r--r--
getopt_posix.h
1.767 KB
-rw-r--r--
hwcap.h
0.948 KB
-rw-r--r--
in.h
9.244 KB
-rw-r--r--
indirect-return.h
1.548 KB
-rw-r--r--
initspin.h
0.024 KB
-rw-r--r--
inotify.h
1.054 KB
-rw-r--r--
ioctl-types.h
2.397 KB
-rw-r--r--
ioctls.h
4.372 KB
-rw-r--r--
ipc.h
2.021 KB
-rw-r--r--
ipctypes.h
1.147 KB
-rw-r--r--
iscanonical.h
2.42 KB
-rw-r--r--
libc-header-start.h
2.546 KB
-rw-r--r--
libm-simd-decl-stubs.h
2.933 KB
-rw-r--r--
link.h
4.185 KB
-rw-r--r--
link_lavcurrent.h
1.073 KB
-rw-r--r--
local_lim.h
3.109 KB
-rw-r--r--
locale.h
1.335 KB
-rw-r--r--
long-double.h
0.901 KB
-rw-r--r--
math-finite.h
5.248 KB
-rw-r--r--
math-vector.h
2.253 KB
-rw-r--r--
mathcalls-helper-functions.h
1.723 KB
-rw-r--r--
mathcalls-narrow.h
1.275 KB
-rw-r--r--
mathcalls.h
12.793 KB
-rw-r--r--
mathdef.h
0.869 KB
-rw-r--r--
mathinline.h
12.71 KB
-rw-r--r--
mman-linux.h
4.78 KB
-rw-r--r--
mman-shared.h
2.672 KB
-rw-r--r--
mman.h
2.015 KB
-rw-r--r--
monetary-ldbl.h
1.021 KB
-rw-r--r--
mqueue.h
1.216 KB
-rw-r--r--
mqueue2.h
2.1 KB
-rw-r--r--
msq.h
2.575 KB
-rw-r--r--
netdb.h
1.233 KB
-rw-r--r--
param.h
1.398 KB
-rw-r--r--
poll.h
2.026 KB
-rw-r--r--
poll2.h
2.427 KB
-rw-r--r--
posix1_lim.h
5.066 KB
-rw-r--r--
posix2_lim.h
2.799 KB
-rw-r--r--
posix_opt.h
5.631 KB
-rw-r--r--
printf-ldbl.h
0.968 KB
-rw-r--r--
pthreadtypes-arch.h
3.213 KB
-rw-r--r--
pthreadtypes.h
2.999 KB
-rw-r--r--
ptrace-shared.h
2.832 KB
-rw-r--r--
resource.h
6.15 KB
-rw-r--r--
sched.h
3.659 KB
-rw-r--r--
select.h
2.056 KB
-rw-r--r--
select2.h
1.403 KB
-rw-r--r--
sem.h
2.558 KB
-rw-r--r--
semaphore.h
1.208 KB
-rw-r--r--
setjmp.h
1.256 KB
-rw-r--r--
setjmp2.h
1.664 KB
-rw-r--r--
shm.h
3.507 KB
-rw-r--r--
sigaction.h
2.865 KB
-rw-r--r--
sigcontext.h
4.164 KB
-rw-r--r--
sigevent-consts.h
1.436 KB
-rw-r--r--
siginfo-arch.h
0.712 KB
-rw-r--r--
siginfo-consts-arch.h
0.199 KB
-rw-r--r--
siginfo-consts.h
5.833 KB
-rw-r--r--
signalfd.h
1.041 KB
-rw-r--r--
signum-generic.h
4.238 KB
-rw-r--r--
signum.h
1.595 KB
-rw-r--r--
sigstack.h
1.14 KB
-rw-r--r--
sigthread.h
1.651 KB
-rw-r--r--
sockaddr.h
1.478 KB
-rw-r--r--
socket.h
15.197 KB
-rw-r--r--
socket2.h
2.965 KB
-rw-r--r--
socket_type.h
2.163 KB
-rw-r--r--
ss_flags.h
1.159 KB
-rw-r--r--
stab.def
8.827 KB
-rw-r--r--
stat.h
7.44 KB
-rw-r--r--
statfs.h
1.871 KB
-rw-r--r--
statvfs.h
3.342 KB
-rw-r--r--
statx-generic.h
2.001 KB
-rw-r--r--
statx.h
1.366 KB
-rw-r--r--
stdint-intn.h
1.012 KB
-rw-r--r--
stdint-uintn.h
1.023 KB
-rw-r--r--
stdio-ldbl.h
2.942 KB
-rw-r--r--
stdio.h
5.455 KB
-rw-r--r--
stdio2.h
12.252 KB
-rw-r--r--
stdio_lim.h
1.184 KB
-rw-r--r--
stdlib-bsearch.h
1.345 KB
-rw-r--r--
stdlib-float.h
1.088 KB
-rw-r--r--
stdlib-ldbl.h
1.34 KB
-rw-r--r--
stdlib.h
4.95 KB
-rw-r--r--
string_fortified.h
4.573 KB
-rw-r--r--
strings_fortified.h
1.21 KB
-rw-r--r--
sys_errlist.h
1.187 KB
-rw-r--r--
syscall.h
44.593 KB
-rw-r--r--
sysctl.h
0.877 KB
-rw-r--r--
syslog-ldbl.h
1.177 KB
-rw-r--r--
syslog-path.h
1.035 KB
-rw-r--r--
syslog.h
1.645 KB
-rw-r--r--
sysmacros.h
2.883 KB
-rw-r--r--
termios.h
5.237 KB
-rw-r--r--
thread-shared-types.h
6.577 KB
-rw-r--r--
time.h
2.928 KB
-rw-r--r--
timerfd.h
1.076 KB
-rw-r--r--
timex.h
4.487 KB
-rw-r--r--
types.h
8.14 KB
-rw-r--r--
typesizes.h
3.317 KB
-rw-r--r--
uintn-identity.h
1.505 KB
-rw-r--r--
uio-ext.h
1.877 KB
-rw-r--r--
uio_lim.h
1.352 KB
-rw-r--r--
unistd.h
10.559 KB
-rw-r--r--
utmp.h
3.971 KB
-rw-r--r--
utmpx.h
3.493 KB
-rw-r--r--
utsname.h
1.184 KB
-rw-r--r--
waitflags.h
1.656 KB
-rw-r--r--
waitstatus.h
2.232 KB
-rw-r--r--
wchar-ldbl.h
2.366 KB
-rw-r--r--
wchar.h
1.86 KB
-rw-r--r--
wchar2.h
17.794 KB
-rw-r--r--
wctype-wchar.h
6.153 KB
-rw-r--r--
wordsize.h
0.432 KB
-rw-r--r--
xopen_lim.h
3.767 KB
-rw-r--r--