24 #ifndef COMPAT_GETENT_SUN_H_INCLUDED
25 #define COMPAT_GETENT_SUN_H_INCLUDED
29 #if defined(sun) || defined(__sun)
31 #include <sys/types.h>
36 int _compat_sun__getprotobynumber_r(
int proto,
37 struct protoent *result_buf,
char *buf,
38 size_t buflen,
struct protoent **
result);
40 int _compat_sun__getprotobyname_r(
const char *
name,
41 struct protoent *result_buf,
char *buf,
42 size_t buflen,
struct protoent **
result);
44 int _compat_sun__getservbyport_r(
int port,
const char *proto,
45 struct servent *result_buf,
char *buf,
46 size_t buflen,
struct servent **
result);
48 int _compat_sun__getservbyname_r(
const char *
name,
const char *proto,
49 struct servent *result_buf,
char *buf,
50 size_t buflen,
struct servent **
result);
const gchar * name
Definition: debugger.c:265
GString * result
Definition: test_lexer_block.c:34