Searched refs:sd (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/netbsd/net/ |
D | getservent_r.c | 53 setservent_r(int f, struct servent_data *sd) in setservent_r() argument 55 if (sd->fp == NULL) in setservent_r() 56 sd->fp = fopen(_PATH_SERVICES, "r"); in setservent_r() 58 rewind(sd->fp); in setservent_r() 59 sd->stayopen |= f; in setservent_r() 63 endservent_r(struct servent_data *sd) in endservent_r() argument 65 if (sd->fp) { in endservent_r() 66 (void)fclose(sd->fp); in endservent_r() 67 sd->fp = NULL; in endservent_r() 69 if (sd->aliases) { in endservent_r() [all …]
|
D | getservbyport_r.c | 48 struct servent_data *sd) in getservbyport_r() argument 52 setservent_r(sd->stayopen, sd); in getservbyport_r() 53 while ((s = getservent_r(sp, sd)) != NULL) { in getservbyport_r() 59 if (!sd->stayopen) in getservbyport_r() 60 if (sd->fp != NULL) { in getservbyport_r() 61 (void)fclose(sd->fp); in getservbyport_r() 62 sd->fp = NULL; in getservbyport_r()
|
D | getservbyname_r.c | 50 struct servent_data *sd) in getservbyname_r() argument 58 setservent_r(sd->stayopen, sd); in getservbyname_r() 59 while ((s = getservent_r(sp, sd)) != NULL) { in getservbyname_r() 70 if (!sd->stayopen) in getservbyname_r() 71 if (sd->fp != NULL) { in getservbyname_r() 72 (void)fclose(sd->fp); in getservbyname_r() 73 sd->fp = NULL; in getservbyname_r()
|
/bionic/libc/inet/ |
D | bindresvport.c | 39 int bindresvport(int sd, struct sockaddr_in *sin) in bindresvport() argument 65 ret = bind(sd, (struct sockaddr*)sin, sizeof(*sin)); in bindresvport()
|
/bionic/libc/include/netinet/ |
D | in.h | 41 extern int bindresvport (int sd, struct sockaddr_in *sin);
|