Debian Codegraph @

lib/replace/system/wscript_configure

raw
1 #!/usr/bin/env python
2
3 # solaris variants of getXXent_r
4 conf.CHECK_C_PROTOTYPE('getpwent_r',
5 'struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)',
6 define='SOLARIS_GETPWENT_R', headers='pwd.h')
7 conf.CHECK_C_PROTOTYPE('getgrent_r',
8 'struct group *getgrent_r(struct group *src, char *buf, int buflen)',
9 define='SOLARIS_GETGRENT_R', headers='grp.h')
10
11 # the irix variants
12 conf.CHECK_C_PROTOTYPE('getpwent_r',
13 'struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen)',
14 define='SOLARIS_GETPWENT_R', headers='pwd.h')
15 conf.CHECK_C_PROTOTYPE('getgrent_r',
16 'struct group *getgrent_r(struct group *src, char *buf, size_t buflen)',
17 define='SOLARIS_GETGRENT_R', headers='grp.h')
18