Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../proc/self/root/usr/include
File: utmpx.h
/* Copyright (C) 1997-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
#ifndef _UTMPX_H
[17] Fix | Delete
#define _UTMPX_H 1
[18] Fix | Delete
[19] Fix | Delete
#include <features.h>
[20] Fix | Delete
#include <sys/time.h>
[21] Fix | Delete
[22] Fix | Delete
/* Required according to Unix98. */
[23] Fix | Delete
#ifndef __pid_t_defined
[24] Fix | Delete
typedef __pid_t pid_t;
[25] Fix | Delete
# define __pid_t_defined
[26] Fix | Delete
#endif
[27] Fix | Delete
[28] Fix | Delete
/* Get system dependent values and data structures. */
[29] Fix | Delete
#include <bits/utmpx.h>
[30] Fix | Delete
[31] Fix | Delete
#ifdef __USE_GNU
[32] Fix | Delete
/* Compatibility names for the strings of the canonical file names. */
[33] Fix | Delete
# define UTMPX_FILE _PATH_UTMPX
[34] Fix | Delete
# define UTMPX_FILENAME _PATH_UTMPX
[35] Fix | Delete
# define WTMPX_FILE _PATH_WTMPX
[36] Fix | Delete
# define WTMPX_FILENAME _PATH_WTMPX
[37] Fix | Delete
#endif
[38] Fix | Delete
[39] Fix | Delete
/* For the getutmp{,x} functions we need the `struct utmp'. */
[40] Fix | Delete
#ifdef __USE_GNU
[41] Fix | Delete
struct utmp;
[42] Fix | Delete
#endif
[43] Fix | Delete
[44] Fix | Delete
[45] Fix | Delete
__BEGIN_DECLS
[46] Fix | Delete
[47] Fix | Delete
/* Open user accounting database.
[48] Fix | Delete
[49] Fix | Delete
This function is a possible cancellation point and therefore not
[50] Fix | Delete
marked with __THROW. */
[51] Fix | Delete
extern void setutxent (void);
[52] Fix | Delete
[53] Fix | Delete
/* Close user accounting database.
[54] Fix | Delete
[55] Fix | Delete
This function is a possible cancellation point and therefore not
[56] Fix | Delete
marked with __THROW. */
[57] Fix | Delete
extern void endutxent (void);
[58] Fix | Delete
[59] Fix | Delete
/* Get the next entry from the user accounting database.
[60] Fix | Delete
[61] Fix | Delete
This function is a possible cancellation point and therefore not
[62] Fix | Delete
marked with __THROW. */
[63] Fix | Delete
extern struct utmpx *getutxent (void);
[64] Fix | Delete
[65] Fix | Delete
/* Get the user accounting database entry corresponding to ID.
[66] Fix | Delete
[67] Fix | Delete
This function is a possible cancellation point and therefore not
[68] Fix | Delete
marked with __THROW. */
[69] Fix | Delete
extern struct utmpx *getutxid (const struct utmpx *__id);
[70] Fix | Delete
[71] Fix | Delete
/* Get the user accounting database entry corresponding to LINE.
[72] Fix | Delete
[73] Fix | Delete
This function is a possible cancellation point and therefore not
[74] Fix | Delete
marked with __THROW. */
[75] Fix | Delete
extern struct utmpx *getutxline (const struct utmpx *__line);
[76] Fix | Delete
[77] Fix | Delete
/* Write the entry UTMPX into the user accounting database.
[78] Fix | Delete
[79] Fix | Delete
This function is a possible cancellation point and therefore not
[80] Fix | Delete
marked with __THROW. */
[81] Fix | Delete
extern struct utmpx *pututxline (const struct utmpx *__utmpx);
[82] Fix | Delete
[83] Fix | Delete
[84] Fix | Delete
#ifdef __USE_GNU
[85] Fix | Delete
/* Change name of the utmpx file to be examined.
[86] Fix | Delete
[87] Fix | Delete
This function is not part of POSIX and therefore no official
[88] Fix | Delete
cancellation point. But due to similarity with an POSIX interface
[89] Fix | Delete
or due to the implementation it is a cancellation point and
[90] Fix | Delete
therefore not marked with __THROW. */
[91] Fix | Delete
extern int utmpxname (const char *__file);
[92] Fix | Delete
[93] Fix | Delete
/* Append entry UTMP to the wtmpx-like file WTMPX_FILE.
[94] Fix | Delete
[95] Fix | Delete
This function is not part of POSIX and therefore no official
[96] Fix | Delete
cancellation point. But due to similarity with an POSIX interface
[97] Fix | Delete
or due to the implementation it is a cancellation point and
[98] Fix | Delete
therefore not marked with __THROW. */
[99] Fix | Delete
extern void updwtmpx (const char *__wtmpx_file,
[100] Fix | Delete
const struct utmpx *__utmpx);
[101] Fix | Delete
[102] Fix | Delete
[103] Fix | Delete
/* Copy the information in UTMPX to UTMP.
[104] Fix | Delete
[105] Fix | Delete
This function is not part of POSIX and therefore no official
[106] Fix | Delete
cancellation point. But due to similarity with an POSIX interface
[107] Fix | Delete
or due to the implementation it is a cancellation point and
[108] Fix | Delete
therefore not marked with __THROW. */
[109] Fix | Delete
extern void getutmp (const struct utmpx *__utmpx,
[110] Fix | Delete
struct utmp *__utmp);
[111] Fix | Delete
[112] Fix | Delete
/* Copy the information in UTMP to UTMPX.
[113] Fix | Delete
[114] Fix | Delete
This function is not part of POSIX and therefore no official
[115] Fix | Delete
cancellation point. But due to similarity with an POSIX interface
[116] Fix | Delete
or due to the implementation it is a cancellation point and
[117] Fix | Delete
therefore not marked with __THROW. */
[118] Fix | Delete
extern void getutmpx (const struct utmp *__utmp, struct utmpx *__utmpx);
[119] Fix | Delete
#endif
[120] Fix | Delete
[121] Fix | Delete
__END_DECLS
[122] Fix | Delete
[123] Fix | Delete
#endif /* utmpx.h */
[124] Fix | Delete
[125] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function