Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../lib64/perl5/CORE
File: reentr.h
/* -*- buffer-read-only: t -*-
[0] Fix | Delete
*
[1] Fix | Delete
* reentr.h
[2] Fix | Delete
*
[3] Fix | Delete
* Copyright (C) 2002, 2003, 2005, 2006, 2007 by Larry Wall and others
[4] Fix | Delete
*
[5] Fix | Delete
* You may distribute under the terms of either the GNU General Public
[6] Fix | Delete
* License or the Artistic License, as specified in the README file.
[7] Fix | Delete
*
[8] Fix | Delete
* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
[9] Fix | Delete
* This file is built by regen/reentr.pl from data in regen/reentr.pl.
[10] Fix | Delete
* Any changes made here will be lost!
[11] Fix | Delete
*/
[12] Fix | Delete
[13] Fix | Delete
#ifndef REENTR_H
[14] Fix | Delete
#define REENTR_H
[15] Fix | Delete
[16] Fix | Delete
/* If compiling for a threaded perl, we will macro-wrap the system/library
[17] Fix | Delete
* interfaces (e.g. getpwent()) which have threaded versions
[18] Fix | Delete
* (e.g. getpwent_r()), which will handle things correctly for
[19] Fix | Delete
* the Perl interpreter, but otherwise (for XS) the wrapping does
[20] Fix | Delete
* not take place. See L<perlxs/Thread-aware system interfaces>.
[21] Fix | Delete
*/
[22] Fix | Delete
[23] Fix | Delete
#ifndef PERL_REENTR_API
[24] Fix | Delete
# if defined(PERL_CORE) || defined(PERL_EXT)
[25] Fix | Delete
# define PERL_REENTR_API 1
[26] Fix | Delete
# else
[27] Fix | Delete
# define PERL_REENTR_API 0
[28] Fix | Delete
# endif
[29] Fix | Delete
#endif
[30] Fix | Delete
[31] Fix | Delete
#ifdef USE_REENTRANT_API
[32] Fix | Delete
[33] Fix | Delete
/* Deprecations: some platforms have the said reentrant interfaces
[34] Fix | Delete
* but they are declared obsolete and are not to be used. Often this
[35] Fix | Delete
* means that the platform has threadsafed the interfaces (hopefully).
[36] Fix | Delete
* All this is OS version dependent, so we are of course fooling ourselves.
[37] Fix | Delete
* If you know of more deprecations on some platforms, please add your own
[38] Fix | Delete
* (by editing reentr.pl, mind!) */
[39] Fix | Delete
[40] Fix | Delete
#ifdef __hpux
[41] Fix | Delete
# undef HAS_CRYPT_R
[42] Fix | Delete
# undef HAS_ENDGRENT_R
[43] Fix | Delete
# undef HAS_ENDPWENT_R
[44] Fix | Delete
# undef HAS_GETGRENT_R
[45] Fix | Delete
# undef HAS_GETPWENT_R
[46] Fix | Delete
# undef HAS_SETLOCALE_R
[47] Fix | Delete
# undef HAS_STRERROR_R
[48] Fix | Delete
# define NETDB_R_OBSOLETE
[49] Fix | Delete
#endif
[50] Fix | Delete
[51] Fix | Delete
#if defined(__osf__) && defined(__alpha) /* Tru64 aka Digital UNIX */
[52] Fix | Delete
# undef HAS_CRYPT_R
[53] Fix | Delete
# undef HAS_STRERROR_R
[54] Fix | Delete
# define NETDB_R_OBSOLETE
[55] Fix | Delete
#endif
[56] Fix | Delete
[57] Fix | Delete
/*
[58] Fix | Delete
* As of OpenBSD 3.7, reentrant functions are now working, they just are
[59] Fix | Delete
* incompatible with everyone else. To make OpenBSD happy, we have to
[60] Fix | Delete
* memzero out certain structures before calling the functions.
[61] Fix | Delete
*/
[62] Fix | Delete
#if defined(__OpenBSD__)
[63] Fix | Delete
# define REENTR_MEMZERO(a,b) memzero(a,b)
[64] Fix | Delete
#else
[65] Fix | Delete
# define REENTR_MEMZERO(a,b) 0
[66] Fix | Delete
#endif
[67] Fix | Delete
[68] Fix | Delete
#ifdef NETDB_R_OBSOLETE
[69] Fix | Delete
# undef HAS_ENDHOSTENT_R
[70] Fix | Delete
# undef HAS_ENDNETENT_R
[71] Fix | Delete
# undef HAS_ENDPROTOENT_R
[72] Fix | Delete
# undef HAS_ENDSERVENT_R
[73] Fix | Delete
# undef HAS_GETHOSTBYADDR_R
[74] Fix | Delete
# undef HAS_GETHOSTBYNAME_R
[75] Fix | Delete
# undef HAS_GETHOSTENT_R
[76] Fix | Delete
# undef HAS_GETNETBYADDR_R
[77] Fix | Delete
# undef HAS_GETNETBYNAME_R
[78] Fix | Delete
# undef HAS_GETNETENT_R
[79] Fix | Delete
# undef HAS_GETPROTOBYNAME_R
[80] Fix | Delete
# undef HAS_GETPROTOBYNUMBER_R
[81] Fix | Delete
# undef HAS_GETPROTOENT_R
[82] Fix | Delete
# undef HAS_GETSERVBYNAME_R
[83] Fix | Delete
# undef HAS_GETSERVBYPORT_R
[84] Fix | Delete
# undef HAS_GETSERVENT_R
[85] Fix | Delete
# undef HAS_SETHOSTENT_R
[86] Fix | Delete
# undef HAS_SETNETENT_R
[87] Fix | Delete
# undef HAS_SETPROTOENT_R
[88] Fix | Delete
# undef HAS_SETSERVENT_R
[89] Fix | Delete
#endif
[90] Fix | Delete
[91] Fix | Delete
#ifdef I_PWD
[92] Fix | Delete
# include <pwd.h>
[93] Fix | Delete
#endif
[94] Fix | Delete
#ifdef I_GRP
[95] Fix | Delete
# include <grp.h>
[96] Fix | Delete
#endif
[97] Fix | Delete
#ifdef I_NETDB
[98] Fix | Delete
# include <netdb.h>
[99] Fix | Delete
#endif
[100] Fix | Delete
#ifdef I_CRYPT
[101] Fix | Delete
# ifdef I_CRYPT
[102] Fix | Delete
# include <crypt.h>
[103] Fix | Delete
# endif
[104] Fix | Delete
#endif
[105] Fix | Delete
#ifdef HAS_GETSPNAM_R
[106] Fix | Delete
# ifdef I_SHADOW
[107] Fix | Delete
# include <shadow.h>
[108] Fix | Delete
# endif
[109] Fix | Delete
#endif
[110] Fix | Delete
[111] Fix | Delete
#define REENTRANT_PROTO_B_B 1
[112] Fix | Delete
#define REENTRANT_PROTO_B_BI 2
[113] Fix | Delete
#define REENTRANT_PROTO_B_BW 3
[114] Fix | Delete
#define REENTRANT_PROTO_B_CCD 4
[115] Fix | Delete
#define REENTRANT_PROTO_B_CCS 5
[116] Fix | Delete
#define REENTRANT_PROTO_B_IBI 6
[117] Fix | Delete
#define REENTRANT_PROTO_B_IBW 7
[118] Fix | Delete
#define REENTRANT_PROTO_B_SB 8
[119] Fix | Delete
#define REENTRANT_PROTO_B_SBI 9
[120] Fix | Delete
#define REENTRANT_PROTO_I_BI 10
[121] Fix | Delete
#define REENTRANT_PROTO_I_BW 11
[122] Fix | Delete
#define REENTRANT_PROTO_I_CCSBWR 12
[123] Fix | Delete
#define REENTRANT_PROTO_I_CCSD 13
[124] Fix | Delete
#define REENTRANT_PROTO_I_CII 14
[125] Fix | Delete
#define REENTRANT_PROTO_I_CIISD 15
[126] Fix | Delete
#define REENTRANT_PROTO_I_CSBI 16
[127] Fix | Delete
#define REENTRANT_PROTO_I_CSBIR 17
[128] Fix | Delete
#define REENTRANT_PROTO_I_CSBWR 18
[129] Fix | Delete
#define REENTRANT_PROTO_I_CSBWRE 19
[130] Fix | Delete
#define REENTRANT_PROTO_I_CSD 20
[131] Fix | Delete
#define REENTRANT_PROTO_I_CWISBWRE 21
[132] Fix | Delete
#define REENTRANT_PROTO_I_CWISD 22
[133] Fix | Delete
#define REENTRANT_PROTO_I_D 23
[134] Fix | Delete
#define REENTRANT_PROTO_I_H 24
[135] Fix | Delete
#define REENTRANT_PROTO_I_IBI 25
[136] Fix | Delete
#define REENTRANT_PROTO_I_IBW 26
[137] Fix | Delete
#define REENTRANT_PROTO_I_ICBI 27
[138] Fix | Delete
#define REENTRANT_PROTO_I_ICSBWR 28
[139] Fix | Delete
#define REENTRANT_PROTO_I_ICSD 29
[140] Fix | Delete
#define REENTRANT_PROTO_I_ID 30
[141] Fix | Delete
#define REENTRANT_PROTO_I_IISD 31
[142] Fix | Delete
#define REENTRANT_PROTO_I_ISBWR 32
[143] Fix | Delete
#define REENTRANT_PROTO_I_ISD 33
[144] Fix | Delete
#define REENTRANT_PROTO_I_LISBI 34
[145] Fix | Delete
#define REENTRANT_PROTO_I_LISD 35
[146] Fix | Delete
#define REENTRANT_PROTO_I_SB 36
[147] Fix | Delete
#define REENTRANT_PROTO_I_SBI 37
[148] Fix | Delete
#define REENTRANT_PROTO_I_SBIE 38
[149] Fix | Delete
#define REENTRANT_PROTO_I_SBIH 39
[150] Fix | Delete
#define REENTRANT_PROTO_I_SBIR 40
[151] Fix | Delete
#define REENTRANT_PROTO_I_SBWR 41
[152] Fix | Delete
#define REENTRANT_PROTO_I_SBWRE 42
[153] Fix | Delete
#define REENTRANT_PROTO_I_SD 43
[154] Fix | Delete
#define REENTRANT_PROTO_I_TISD 44
[155] Fix | Delete
#define REENTRANT_PROTO_I_TS 45
[156] Fix | Delete
#define REENTRANT_PROTO_I_TSBI 46
[157] Fix | Delete
#define REENTRANT_PROTO_I_TSBIR 47
[158] Fix | Delete
#define REENTRANT_PROTO_I_TSBWR 48
[159] Fix | Delete
#define REENTRANT_PROTO_I_TSR 49
[160] Fix | Delete
#define REENTRANT_PROTO_I_TsISBWRE 50
[161] Fix | Delete
#define REENTRANT_PROTO_I_UISBWRE 51
[162] Fix | Delete
#define REENTRANT_PROTO_I_uISBWRE 52
[163] Fix | Delete
#define REENTRANT_PROTO_S_CBI 53
[164] Fix | Delete
#define REENTRANT_PROTO_S_CCSBI 54
[165] Fix | Delete
#define REENTRANT_PROTO_S_CIISBIE 55
[166] Fix | Delete
#define REENTRANT_PROTO_S_CSBI 56
[167] Fix | Delete
#define REENTRANT_PROTO_S_CSBIE 57
[168] Fix | Delete
#define REENTRANT_PROTO_S_CWISBIE 58
[169] Fix | Delete
#define REENTRANT_PROTO_S_CWISBWIE 59
[170] Fix | Delete
#define REENTRANT_PROTO_S_ICSBI 60
[171] Fix | Delete
#define REENTRANT_PROTO_S_ISBI 61
[172] Fix | Delete
#define REENTRANT_PROTO_S_LISBI 62
[173] Fix | Delete
#define REENTRANT_PROTO_S_SBI 63
[174] Fix | Delete
#define REENTRANT_PROTO_S_SBIE 64
[175] Fix | Delete
#define REENTRANT_PROTO_S_SBW 65
[176] Fix | Delete
#define REENTRANT_PROTO_S_TISBI 66
[177] Fix | Delete
#define REENTRANT_PROTO_S_TSBI 67
[178] Fix | Delete
#define REENTRANT_PROTO_S_TSBIE 68
[179] Fix | Delete
#define REENTRANT_PROTO_S_TWISBIE 69
[180] Fix | Delete
#define REENTRANT_PROTO_V_D 70
[181] Fix | Delete
#define REENTRANT_PROTO_V_H 71
[182] Fix | Delete
#define REENTRANT_PROTO_V_ID 72
[183] Fix | Delete
[184] Fix | Delete
/* Defines for indicating which special features are supported. */
[185] Fix | Delete
[186] Fix | Delete
/* The getgrent getgrgid getgrnam using buffer? */
[187] Fix | Delete
[188] Fix | Delete
#if defined(HAS_GETGRENT_R) && (GETGRENT_R_PROTO == REENTRANT_PROTO_I_SBWR || GETGRENT_R_PROTO == REENTRANT_PROTO_I_SBIR || GETGRENT_R_PROTO == REENTRANT_PROTO_S_SBW || GETGRENT_R_PROTO == REENTRANT_PROTO_S_SBI || GETGRENT_R_PROTO == REENTRANT_PROTO_I_SBI || GETGRENT_R_PROTO == REENTRANT_PROTO_I_SBIH)
[189] Fix | Delete
# define GETGRENT_R_HAS_BUFFER
[190] Fix | Delete
#else
[191] Fix | Delete
# undef GETGRENT_R_HAS_BUFFER
[192] Fix | Delete
#endif
[193] Fix | Delete
#if defined(HAS_GETGRGID_R) && (GETGRGID_R_PROTO == REENTRANT_PROTO_I_TSBWR || GETGRGID_R_PROTO == REENTRANT_PROTO_I_TSBIR || GETGRGID_R_PROTO == REENTRANT_PROTO_I_TSBI || GETGRGID_R_PROTO == REENTRANT_PROTO_S_TSBI)
[194] Fix | Delete
# define GETGRGID_R_HAS_BUFFER
[195] Fix | Delete
#else
[196] Fix | Delete
# undef GETGRGID_R_HAS_BUFFER
[197] Fix | Delete
#endif
[198] Fix | Delete
#if defined(HAS_GETGRNAM_R) && (GETGRNAM_R_PROTO == REENTRANT_PROTO_I_CSBWR || GETGRNAM_R_PROTO == REENTRANT_PROTO_I_CSBIR || GETGRNAM_R_PROTO == REENTRANT_PROTO_S_CBI || GETGRNAM_R_PROTO == REENTRANT_PROTO_I_CSBI || GETGRNAM_R_PROTO == REENTRANT_PROTO_S_CSBI)
[199] Fix | Delete
# define GETGRNAM_R_HAS_BUFFER
[200] Fix | Delete
#else
[201] Fix | Delete
# undef GETGRNAM_R_HAS_BUFFER
[202] Fix | Delete
#endif
[203] Fix | Delete
[204] Fix | Delete
/* Any of the getgrent getgrgid getgrnam using buffer? */
[205] Fix | Delete
[206] Fix | Delete
#if (defined(GETGRENT_R_HAS_BUFFER) || defined(GETGRGID_R_HAS_BUFFER) || defined(GETGRNAM_R_HAS_BUFFER))
[207] Fix | Delete
# define USE_GRENT_BUFFER
[208] Fix | Delete
#else
[209] Fix | Delete
# undef USE_GRENT_BUFFER
[210] Fix | Delete
#endif
[211] Fix | Delete
[212] Fix | Delete
/* The getgrent getgrgid getgrnam using ptr? */
[213] Fix | Delete
[214] Fix | Delete
#if defined(HAS_GETGRENT_R) && (GETGRENT_R_PROTO == REENTRANT_PROTO_I_SBWR || GETGRENT_R_PROTO == REENTRANT_PROTO_I_SBIR)
[215] Fix | Delete
# define GETGRENT_R_HAS_PTR
[216] Fix | Delete
#else
[217] Fix | Delete
# undef GETGRENT_R_HAS_PTR
[218] Fix | Delete
#endif
[219] Fix | Delete
#if defined(HAS_GETGRGID_R) && (GETGRGID_R_PROTO == REENTRANT_PROTO_I_TSBWR || GETGRGID_R_PROTO == REENTRANT_PROTO_I_TSBIR)
[220] Fix | Delete
# define GETGRGID_R_HAS_PTR
[221] Fix | Delete
#else
[222] Fix | Delete
# undef GETGRGID_R_HAS_PTR
[223] Fix | Delete
#endif
[224] Fix | Delete
#if defined(HAS_GETGRNAM_R) && (GETGRNAM_R_PROTO == REENTRANT_PROTO_I_CSBWR || GETGRNAM_R_PROTO == REENTRANT_PROTO_I_CSBIR)
[225] Fix | Delete
# define GETGRNAM_R_HAS_PTR
[226] Fix | Delete
#else
[227] Fix | Delete
# undef GETGRNAM_R_HAS_PTR
[228] Fix | Delete
#endif
[229] Fix | Delete
[230] Fix | Delete
/* Any of the getgrent getgrgid getgrnam using ptr? */
[231] Fix | Delete
[232] Fix | Delete
#if (defined(GETGRENT_R_HAS_PTR) || defined(GETGRGID_R_HAS_PTR) || defined(GETGRNAM_R_HAS_PTR))
[233] Fix | Delete
# define USE_GRENT_PTR
[234] Fix | Delete
#else
[235] Fix | Delete
# undef USE_GRENT_PTR
[236] Fix | Delete
#endif
[237] Fix | Delete
[238] Fix | Delete
/* The getpwent getpwnam getpwuid using ptr? */
[239] Fix | Delete
[240] Fix | Delete
#if defined(HAS_GETPWENT_R) && (GETPWENT_R_PROTO == REENTRANT_PROTO_I_SBWR || GETPWENT_R_PROTO == REENTRANT_PROTO_I_SBIR)
[241] Fix | Delete
# define GETPWENT_R_HAS_PTR
[242] Fix | Delete
#else
[243] Fix | Delete
# undef GETPWENT_R_HAS_PTR
[244] Fix | Delete
#endif
[245] Fix | Delete
#if defined(HAS_GETPWNAM_R) && (GETPWNAM_R_PROTO == REENTRANT_PROTO_I_CSBWR || GETPWNAM_R_PROTO == REENTRANT_PROTO_I_CSBIR)
[246] Fix | Delete
# define GETPWNAM_R_HAS_PTR
[247] Fix | Delete
#else
[248] Fix | Delete
# undef GETPWNAM_R_HAS_PTR
[249] Fix | Delete
#endif
[250] Fix | Delete
#if defined(HAS_GETPWUID_R) && (GETPWUID_R_PROTO == REENTRANT_PROTO_I_TSBWR || GETPWUID_R_PROTO == REENTRANT_PROTO_I_TSBIR)
[251] Fix | Delete
# define GETPWUID_R_HAS_PTR
[252] Fix | Delete
#else
[253] Fix | Delete
# undef GETPWUID_R_HAS_PTR
[254] Fix | Delete
#endif
[255] Fix | Delete
[256] Fix | Delete
/* Any of the getpwent getpwnam getpwuid using ptr? */
[257] Fix | Delete
[258] Fix | Delete
#if (defined(GETPWENT_R_HAS_PTR) || defined(GETPWNAM_R_HAS_PTR) || defined(GETPWUID_R_HAS_PTR))
[259] Fix | Delete
# define USE_PWENT_PTR
[260] Fix | Delete
#else
[261] Fix | Delete
# undef USE_PWENT_PTR
[262] Fix | Delete
#endif
[263] Fix | Delete
[264] Fix | Delete
/* The getspent getspnam using ptr? */
[265] Fix | Delete
[266] Fix | Delete
#if defined(HAS_GETSPNAM_R) && (GETSPNAM_R_PROTO == REENTRANT_PROTO_I_CSBWR)
[267] Fix | Delete
# define GETSPNAM_R_HAS_PTR
[268] Fix | Delete
#else
[269] Fix | Delete
# undef GETSPNAM_R_HAS_PTR
[270] Fix | Delete
#endif
[271] Fix | Delete
[272] Fix | Delete
/* Any of the getspent getspnam using ptr? */
[273] Fix | Delete
[274] Fix | Delete
#if (defined(GETSPENT_R_HAS_PTR) || defined(GETSPNAM_R_HAS_PTR))
[275] Fix | Delete
# define USE_SPENT_PTR
[276] Fix | Delete
#else
[277] Fix | Delete
# undef USE_SPENT_PTR
[278] Fix | Delete
#endif
[279] Fix | Delete
[280] Fix | Delete
/* The getgrent getgrgid getgrnam setgrent endgrent using fptr? */
[281] Fix | Delete
[282] Fix | Delete
#if defined(HAS_GETGRENT_R) && (GETGRENT_R_PROTO == REENTRANT_PROTO_I_SBIH)
[283] Fix | Delete
# define GETGRENT_R_HAS_FPTR
[284] Fix | Delete
#else
[285] Fix | Delete
# undef GETGRENT_R_HAS_FPTR
[286] Fix | Delete
#endif
[287] Fix | Delete
#if defined(HAS_SETGRENT_R) && (SETGRENT_R_PROTO == REENTRANT_PROTO_I_H || SETGRENT_R_PROTO == REENTRANT_PROTO_V_H)
[288] Fix | Delete
# define SETGRENT_R_HAS_FPTR
[289] Fix | Delete
#else
[290] Fix | Delete
# undef SETGRENT_R_HAS_FPTR
[291] Fix | Delete
#endif
[292] Fix | Delete
#if defined(HAS_ENDGRENT_R) && (ENDGRENT_R_PROTO == REENTRANT_PROTO_I_H || ENDGRENT_R_PROTO == REENTRANT_PROTO_V_H)
[293] Fix | Delete
# define ENDGRENT_R_HAS_FPTR
[294] Fix | Delete
#else
[295] Fix | Delete
# undef ENDGRENT_R_HAS_FPTR
[296] Fix | Delete
#endif
[297] Fix | Delete
[298] Fix | Delete
/* Any of the getgrent getgrgid getgrnam setgrent endgrent using fptr? */
[299] Fix | Delete
[300] Fix | Delete
#if (defined(GETGRENT_R_HAS_FPTR) || defined(GETGRGID_R_HAS_FPTR) || defined(GETGRNAM_R_HAS_FPTR) || defined(SETGRENT_R_HAS_FPTR) || defined(ENDGRENT_R_HAS_FPTR))
[301] Fix | Delete
# define USE_GRENT_FPTR
[302] Fix | Delete
#else
[303] Fix | Delete
# undef USE_GRENT_FPTR
[304] Fix | Delete
#endif
[305] Fix | Delete
[306] Fix | Delete
/* The getpwent getpwnam getpwuid setpwent endpwent using fptr? */
[307] Fix | Delete
[308] Fix | Delete
#if defined(HAS_GETPWENT_R) && (GETPWENT_R_PROTO == REENTRANT_PROTO_I_SBIH)
[309] Fix | Delete
# define GETPWENT_R_HAS_FPTR
[310] Fix | Delete
#else
[311] Fix | Delete
# undef GETPWENT_R_HAS_FPTR
[312] Fix | Delete
#endif
[313] Fix | Delete
#if defined(HAS_SETPWENT_R) && (SETPWENT_R_PROTO == REENTRANT_PROTO_I_H || SETPWENT_R_PROTO == REENTRANT_PROTO_V_H)
[314] Fix | Delete
# define SETPWENT_R_HAS_FPTR
[315] Fix | Delete
#else
[316] Fix | Delete
# undef SETPWENT_R_HAS_FPTR
[317] Fix | Delete
#endif
[318] Fix | Delete
#if defined(HAS_ENDPWENT_R) && (ENDPWENT_R_PROTO == REENTRANT_PROTO_I_H || ENDPWENT_R_PROTO == REENTRANT_PROTO_V_H)
[319] Fix | Delete
# define ENDPWENT_R_HAS_FPTR
[320] Fix | Delete
#else
[321] Fix | Delete
# undef ENDPWENT_R_HAS_FPTR
[322] Fix | Delete
#endif
[323] Fix | Delete
[324] Fix | Delete
/* Any of the getpwent getpwnam getpwuid setpwent endpwent using fptr? */
[325] Fix | Delete
[326] Fix | Delete
#if (defined(GETPWENT_R_HAS_FPTR) || defined(GETPWNAM_R_HAS_FPTR) || defined(GETPWUID_R_HAS_FPTR) || defined(SETPWENT_R_HAS_FPTR) || defined(ENDPWENT_R_HAS_FPTR))
[327] Fix | Delete
# define USE_PWENT_FPTR
[328] Fix | Delete
#else
[329] Fix | Delete
# undef USE_PWENT_FPTR
[330] Fix | Delete
#endif
[331] Fix | Delete
[332] Fix | Delete
/* The getpwent getpwgid getpwnam using buffer? */
[333] Fix | Delete
[334] Fix | Delete
#if defined(HAS_GETPWENT_R) && (GETPWENT_R_PROTO == REENTRANT_PROTO_I_SBWR || GETPWENT_R_PROTO == REENTRANT_PROTO_I_SBIR || GETPWENT_R_PROTO == REENTRANT_PROTO_S_SBW || GETPWENT_R_PROTO == REENTRANT_PROTO_S_SBI || GETPWENT_R_PROTO == REENTRANT_PROTO_I_SBI || GETPWENT_R_PROTO == REENTRANT_PROTO_I_SBIH)
[335] Fix | Delete
# define GETPWENT_R_HAS_BUFFER
[336] Fix | Delete
#else
[337] Fix | Delete
# undef GETPWENT_R_HAS_BUFFER
[338] Fix | Delete
#endif
[339] Fix | Delete
#if defined(HAS_GETPWNAM_R) && (GETPWNAM_R_PROTO == REENTRANT_PROTO_I_CSBWR || GETPWNAM_R_PROTO == REENTRANT_PROTO_I_CSBIR || GETPWNAM_R_PROTO == REENTRANT_PROTO_S_CSBI || GETPWNAM_R_PROTO == REENTRANT_PROTO_I_CSBI)
[340] Fix | Delete
# define GETPWNAM_R_HAS_BUFFER
[341] Fix | Delete
#else
[342] Fix | Delete
# undef GETPWNAM_R_HAS_BUFFER
[343] Fix | Delete
#endif
[344] Fix | Delete
[345] Fix | Delete
/* Any of the getpwent getpwgid getpwnam using buffer? */
[346] Fix | Delete
[347] Fix | Delete
#if (defined(GETPWENT_R_HAS_BUFFER) || defined(GETPWGID_R_HAS_BUFFER) || defined(GETPWNAM_R_HAS_BUFFER))
[348] Fix | Delete
# define USE_PWENT_BUFFER
[349] Fix | Delete
#else
[350] Fix | Delete
# undef USE_PWENT_BUFFER
[351] Fix | Delete
#endif
[352] Fix | Delete
[353] Fix | Delete
/* The gethostent gethostbyaddr gethostbyname using ptr? */
[354] Fix | Delete
[355] Fix | Delete
#if defined(HAS_GETHOSTENT_R) && (GETHOSTENT_R_PROTO == REENTRANT_PROTO_I_SBWRE)
[356] Fix | Delete
# define GETHOSTENT_R_HAS_PTR
[357] Fix | Delete
#else
[358] Fix | Delete
# undef GETHOSTENT_R_HAS_PTR
[359] Fix | Delete
#endif
[360] Fix | Delete
#if defined(HAS_GETHOSTBYADDR_R) && (GETHOSTBYADDR_R_PROTO == REENTRANT_PROTO_I_CWISBWRE || GETHOSTBYADDR_R_PROTO == REENTRANT_PROTO_I_TsISBWRE)
[361] Fix | Delete
# define GETHOSTBYADDR_R_HAS_PTR
[362] Fix | Delete
#else
[363] Fix | Delete
# undef GETHOSTBYADDR_R_HAS_PTR
[364] Fix | Delete
#endif
[365] Fix | Delete
#if defined(HAS_GETHOSTBYNAME_R) && (GETHOSTBYNAME_R_PROTO == REENTRANT_PROTO_I_CSBWRE)
[366] Fix | Delete
# define GETHOSTBYNAME_R_HAS_PTR
[367] Fix | Delete
#else
[368] Fix | Delete
# undef GETHOSTBYNAME_R_HAS_PTR
[369] Fix | Delete
#endif
[370] Fix | Delete
[371] Fix | Delete
/* Any of the gethostent gethostbyaddr gethostbyname using ptr? */
[372] Fix | Delete
[373] Fix | Delete
#if (defined(GETHOSTENT_R_HAS_PTR) || defined(GETHOSTBYADDR_R_HAS_PTR) || defined(GETHOSTBYNAME_R_HAS_PTR))
[374] Fix | Delete
# define USE_HOSTENT_PTR
[375] Fix | Delete
#else
[376] Fix | Delete
# undef USE_HOSTENT_PTR
[377] Fix | Delete
#endif
[378] Fix | Delete
[379] Fix | Delete
/* The getnetent getnetbyaddr getnetbyname using ptr? */
[380] Fix | Delete
[381] Fix | Delete
#if defined(HAS_GETNETENT_R) && (GETNETENT_R_PROTO == REENTRANT_PROTO_I_SBWRE)
[382] Fix | Delete
# define GETNETENT_R_HAS_PTR
[383] Fix | Delete
#else
[384] Fix | Delete
# undef GETNETENT_R_HAS_PTR
[385] Fix | Delete
#endif
[386] Fix | Delete
#if defined(HAS_GETNETBYADDR_R) && (GETNETBYADDR_R_PROTO == REENTRANT_PROTO_I_UISBWRE || GETNETBYADDR_R_PROTO == REENTRANT_PROTO_I_uISBWRE)
[387] Fix | Delete
# define GETNETBYADDR_R_HAS_PTR
[388] Fix | Delete
#else
[389] Fix | Delete
# undef GETNETBYADDR_R_HAS_PTR
[390] Fix | Delete
#endif
[391] Fix | Delete
#if defined(HAS_GETNETBYNAME_R) && (GETNETBYNAME_R_PROTO == REENTRANT_PROTO_I_CSBWRE)
[392] Fix | Delete
# define GETNETBYNAME_R_HAS_PTR
[393] Fix | Delete
#else
[394] Fix | Delete
# undef GETNETBYNAME_R_HAS_PTR
[395] Fix | Delete
#endif
[396] Fix | Delete
[397] Fix | Delete
/* Any of the getnetent getnetbyaddr getnetbyname using ptr? */
[398] Fix | Delete
[399] Fix | Delete
#if (defined(GETNETENT_R_HAS_PTR) || defined(GETNETBYADDR_R_HAS_PTR) || defined(GETNETBYNAME_R_HAS_PTR))
[400] Fix | Delete
# define USE_NETENT_PTR
[401] Fix | Delete
#else
[402] Fix | Delete
# undef USE_NETENT_PTR
[403] Fix | Delete
#endif
[404] Fix | Delete
[405] Fix | Delete
/* The getprotoent getprotobyname getprotobynumber using ptr? */
[406] Fix | Delete
[407] Fix | Delete
#if defined(HAS_GETPROTOENT_R) && (GETPROTOENT_R_PROTO == REENTRANT_PROTO_I_SBWR)
[408] Fix | Delete
# define GETPROTOENT_R_HAS_PTR
[409] Fix | Delete
#else
[410] Fix | Delete
# undef GETPROTOENT_R_HAS_PTR
[411] Fix | Delete
#endif
[412] Fix | Delete
#if defined(HAS_GETPROTOBYNAME_R) && (GETPROTOBYNAME_R_PROTO == REENTRANT_PROTO_I_CSBWR)
[413] Fix | Delete
# define GETPROTOBYNAME_R_HAS_PTR
[414] Fix | Delete
#else
[415] Fix | Delete
# undef GETPROTOBYNAME_R_HAS_PTR
[416] Fix | Delete
#endif
[417] Fix | Delete
#if defined(HAS_GETPROTOBYNUMBER_R) && (GETPROTOBYNUMBER_R_PROTO == REENTRANT_PROTO_I_ISBWR)
[418] Fix | Delete
# define GETPROTOBYNUMBER_R_HAS_PTR
[419] Fix | Delete
#else
[420] Fix | Delete
# undef GETPROTOBYNUMBER_R_HAS_PTR
[421] Fix | Delete
#endif
[422] Fix | Delete
[423] Fix | Delete
/* Any of the getprotoent getprotobyname getprotobynumber using ptr? */
[424] Fix | Delete
[425] Fix | Delete
#if (defined(GETPROTOENT_R_HAS_PTR) || defined(GETPROTOBYNAME_R_HAS_PTR) || defined(GETPROTOBYNUMBER_R_HAS_PTR))
[426] Fix | Delete
# define USE_PROTOENT_PTR
[427] Fix | Delete
#else
[428] Fix | Delete
# undef USE_PROTOENT_PTR
[429] Fix | Delete
#endif
[430] Fix | Delete
[431] Fix | Delete
/* The getservent getservbyname getservbyport using ptr? */
[432] Fix | Delete
[433] Fix | Delete
#if defined(HAS_GETSERVENT_R) && (GETSERVENT_R_PROTO == REENTRANT_PROTO_I_SBWR)
[434] Fix | Delete
# define GETSERVENT_R_HAS_PTR
[435] Fix | Delete
#else
[436] Fix | Delete
# undef GETSERVENT_R_HAS_PTR
[437] Fix | Delete
#endif
[438] Fix | Delete
#if defined(HAS_GETSERVBYNAME_R) && (GETSERVBYNAME_R_PROTO == REENTRANT_PROTO_I_CCSBWR)
[439] Fix | Delete
# define GETSERVBYNAME_R_HAS_PTR
[440] Fix | Delete
#else
[441] Fix | Delete
# undef GETSERVBYNAME_R_HAS_PTR
[442] Fix | Delete
#endif
[443] Fix | Delete
#if defined(HAS_GETSERVBYPORT_R) && (GETSERVBYPORT_R_PROTO == REENTRANT_PROTO_I_ICSBWR)
[444] Fix | Delete
# define GETSERVBYPORT_R_HAS_PTR
[445] Fix | Delete
#else
[446] Fix | Delete
# undef GETSERVBYPORT_R_HAS_PTR
[447] Fix | Delete
#endif
[448] Fix | Delete
[449] Fix | Delete
/* Any of the getservent getservbyname getservbyport using ptr? */
[450] Fix | Delete
[451] Fix | Delete
#if (defined(GETSERVENT_R_HAS_PTR) || defined(GETSERVBYNAME_R_HAS_PTR) || defined(GETSERVBYPORT_R_HAS_PTR))
[452] Fix | Delete
# define USE_SERVENT_PTR
[453] Fix | Delete
#else
[454] Fix | Delete
# undef USE_SERVENT_PTR
[455] Fix | Delete
#endif
[456] Fix | Delete
[457] Fix | Delete
/* The gethostent gethostbyaddr gethostbyname using buffer? */
[458] Fix | Delete
[459] Fix | Delete
#if defined(HAS_GETHOSTENT_R) && (GETHOSTENT_R_PROTO == REENTRANT_PROTO_I_SBWRE || GETHOSTENT_R_PROTO == REENTRANT_PROTO_I_SBIE || GETHOSTENT_R_PROTO == REENTRANT_PROTO_S_SBIE || GETHOSTENT_R_PROTO == REENTRANT_PROTO_S_SBI || GETHOSTENT_R_PROTO == REENTRANT_PROTO_I_SBI)
[460] Fix | Delete
# define GETHOSTENT_R_HAS_BUFFER
[461] Fix | Delete
#else
[462] Fix | Delete
# undef GETHOSTENT_R_HAS_BUFFER
[463] Fix | Delete
#endif
[464] Fix | Delete
#if defined(HAS_GETHOSTBYADDR_R) && (GETHOSTBYADDR_R_PROTO == REENTRANT_PROTO_I_CWISBWRE || GETHOSTBYADDR_R_PROTO == REENTRANT_PROTO_S_CWISBWIE || GETHOSTBYADDR_R_PROTO == REENTRANT_PROTO_S_CWISBIE || GETHOSTBYADDR_R_PROTO == REENTRANT_PROTO_S_TWISBIE || GETHOSTBYADDR_R_PROTO == REENTRANT_PROTO_S_CIISBIE || GETHOSTBYADDR_R_PROTO == REENTRANT_PROTO_S_CSBIE || GETHOSTBYADDR_R_PROTO == REENTRANT_PROTO_S_TSBIE || GETHOSTBYADDR_R_PROTO == REENTRANT_PROTO_I_TsISBWRE)
[465] Fix | Delete
# define GETHOSTBYADDR_R_HAS_BUFFER
[466] Fix | Delete
#else
[467] Fix | Delete
# undef GETHOSTBYADDR_R_HAS_BUFFER
[468] Fix | Delete
#endif
[469] Fix | Delete
#if defined(HAS_GETHOSTBYNAME_R) && (GETHOSTBYNAME_R_PROTO == REENTRANT_PROTO_I_CSBWRE || GETHOSTBYNAME_R_PROTO == REENTRANT_PROTO_S_CSBIE)
[470] Fix | Delete
# define GETHOSTBYNAME_R_HAS_BUFFER
[471] Fix | Delete
#else
[472] Fix | Delete
# undef GETHOSTBYNAME_R_HAS_BUFFER
[473] Fix | Delete
#endif
[474] Fix | Delete
[475] Fix | Delete
/* Any of the gethostent gethostbyaddr gethostbyname using buffer? */
[476] Fix | Delete
[477] Fix | Delete
#if (defined(GETHOSTENT_R_HAS_BUFFER) || defined(GETHOSTBYADDR_R_HAS_BUFFER) || defined(GETHOSTBYNAME_R_HAS_BUFFER))
[478] Fix | Delete
# define USE_HOSTENT_BUFFER
[479] Fix | Delete
#else
[480] Fix | Delete
# undef USE_HOSTENT_BUFFER
[481] Fix | Delete
#endif
[482] Fix | Delete
[483] Fix | Delete
/* The getnetent getnetbyaddr getnetbyname using buffer? */
[484] Fix | Delete
[485] Fix | Delete
#if defined(HAS_GETNETENT_R) && (GETNETENT_R_PROTO == REENTRANT_PROTO_I_SBWRE || GETNETENT_R_PROTO == REENTRANT_PROTO_I_SBIE || GETNETENT_R_PROTO == REENTRANT_PROTO_S_SBIE || GETNETENT_R_PROTO == REENTRANT_PROTO_S_SBI || GETNETENT_R_PROTO == REENTRANT_PROTO_I_SBI)
[486] Fix | Delete
# define GETNETENT_R_HAS_BUFFER
[487] Fix | Delete
#else
[488] Fix | Delete
# undef GETNETENT_R_HAS_BUFFER
[489] Fix | Delete
#endif
[490] Fix | Delete
#if defined(HAS_GETNETBYADDR_R) && (GETNETBYADDR_R_PROTO == REENTRANT_PROTO_I_UISBWRE || GETNETBYADDR_R_PROTO == REENTRANT_PROTO_I_LISBI || GETNETBYADDR_R_PROTO == REENTRANT_PROTO_S_TISBI || GETNETBYADDR_R_PROTO == REENTRANT_PROTO_S_LISBI || GETNETBYADDR_R_PROTO == REENTRANT_PROTO_I_uISBWRE)
[491] Fix | Delete
# define GETNETBYADDR_R_HAS_BUFFER
[492] Fix | Delete
#else
[493] Fix | Delete
# undef GETNETBYADDR_R_HAS_BUFFER
[494] Fix | Delete
#endif
[495] Fix | Delete
#if defined(HAS_GETNETBYNAME_R) && (GETNETBYNAME_R_PROTO == REENTRANT_PROTO_I_CSBWRE || GETNETBYNAME_R_PROTO == REENTRANT_PROTO_I_CSBI || GETNETBYNAME_R_PROTO == REENTRANT_PROTO_S_CSBI)
[496] Fix | Delete
# define GETNETBYNAME_R_HAS_BUFFER
[497] Fix | Delete
#else
[498] Fix | Delete
# undef GETNETBYNAME_R_HAS_BUFFER
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function