"Fossies" - the Fresh Open Source Software Archive

Member "usr/include/cygwin/utmp.h" (19 Aug 2019, 690 Bytes) of package /windows/misc/cygwin-20190819-x86.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /* cygwin/utmp.h
    2 
    3    This software is a copyrighted work licensed under the terms of the
    4    Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
    5    details. */
    6 
    7 #ifndef CYGWIN_UTMP_H
    8 #define CYGWIN_UTMP_H
    9 
   10 #include <sys/types.h>
   11 #include <time.h>
   12 #include <paths.h>
   13 
   14 #define WTMP_FILE _PATH_WTMP
   15 
   16 #ifdef __cplusplus
   17 extern "C" {
   18 #endif
   19 
   20 #define UT_LINESIZE 16
   21 #define UT_NAMESIZE 16
   22 #define UT_HOSTSIZE 256
   23 #define UT_IDLEN    2
   24 
   25 #define RUN_LVL         1
   26 #define BOOT_TIME       2
   27 #define NEW_TIME        3
   28 #define OLD_TIME        4
   29 
   30 #define INIT_PROCESS    5
   31 #define LOGIN_PROCESS   6
   32 #define USER_PROCESS    7
   33 #define DEAD_PROCESS    8
   34 
   35 #ifdef __cplusplus
   36 }
   37 #endif
   38 #endif /* CYGWIN_UTMP_H */