136 |
|
|
137 |
SCM_DEFINE (scm_gethost, "gethost", 0, 1, 0, |
SCM_DEFINE (scm_gethost, "gethost", 0, 1, 0, |
138 |
(SCM host), |
(SCM host), |
139 |
"@deffnx procedure gethostbyname hostname\n" |
"@deffnx {Scheme Procedure} gethostbyname hostname\n" |
140 |
"@deffnx procedure gethostbyaddr address\n" |
"@deffnx {Scheme Procedure} gethostbyaddr address\n" |
141 |
"Look up a host by name or address, returning a host object. The\n" |
"Look up a host by name or address, returning a host object. The\n" |
142 |
"@code{gethost} procedure will accept either a string name or an integer\n" |
"@code{gethost} procedure will accept either a string name or an integer\n" |
143 |
"address; if given no arguments, it behaves like @code{gethostent} (see\n" |
"address; if given no arguments, it behaves like @code{gethostent} (see\n" |
220 |
#if defined(HAVE_GETNETENT) && defined(HAVE_GETNETBYNAME) && defined(HAVE_GETNETBYADDR) |
#if defined(HAVE_GETNETENT) && defined(HAVE_GETNETBYNAME) && defined(HAVE_GETNETBYADDR) |
221 |
SCM_DEFINE (scm_getnet, "getnet", 0, 1, 0, |
SCM_DEFINE (scm_getnet, "getnet", 0, 1, 0, |
222 |
(SCM net), |
(SCM net), |
223 |
"@deffnx procedure getnetbyname net-name\n" |
"@deffnx {Scheme Procedure} getnetbyname net-name\n" |
224 |
"@deffnx procedure getnetbyaddr net-number\n" |
"@deffnx {Scheme Procedure} getnetbyaddr net-number\n" |
225 |
"Look up a network by name or net number in the network database. The\n" |
"Look up a network by name or net number in the network database. The\n" |
226 |
"@var{net-name} argument must be a string, and the @var{net-number}\n" |
"@var{net-name} argument must be a string, and the @var{net-number}\n" |
227 |
"argument must be an integer. @code{getnet} will accept either type of\n" |
"argument must be an integer. @code{getnet} will accept either type of\n" |
271 |
#ifdef HAVE_GETPROTOENT |
#ifdef HAVE_GETPROTOENT |
272 |
SCM_DEFINE (scm_getproto, "getproto", 0, 1, 0, |
SCM_DEFINE (scm_getproto, "getproto", 0, 1, 0, |
273 |
(SCM protocol), |
(SCM protocol), |
274 |
"@deffnx procedure getprotobyname name\n" |
"@deffnx {Scheme Procedure} getprotobyname name\n" |
275 |
"@deffnx procedure getprotobynumber number\n" |
"@deffnx {Scheme Procedure} getprotobynumber number\n" |
276 |
"Look up a network protocol by name or by number. @code{getprotobyname}\n" |
"Look up a network protocol by name or by number. @code{getprotobyname}\n" |
277 |
"takes a string argument, and @code{getprotobynumber} takes an integer\n" |
"takes a string argument, and @code{getprotobynumber} takes an integer\n" |
278 |
"argument. @code{getproto} will accept either type, behaving like\n" |
"argument. @code{getproto} will accept either type, behaving like\n" |
335 |
#ifdef HAVE_GETSERVENT |
#ifdef HAVE_GETSERVENT |
336 |
SCM_DEFINE (scm_getserv, "getserv", 0, 2, 0, |
SCM_DEFINE (scm_getserv, "getserv", 0, 2, 0, |
337 |
(SCM name, SCM protocol), |
(SCM name, SCM protocol), |
338 |
"@deffnx procedure getservbyname name protocol\n" |
"@deffnx {Scheme Procedure} getservbyname name protocol\n" |
339 |
"@deffnx procedure getservbyport port protocol\n" |
"@deffnx {Scheme Procedure} getservbyport port protocol\n" |
340 |
"Look up a network service by name or by service number, and return a\n" |
"Look up a network service by name or by service number, and return a\n" |
341 |
"network service object. The @var{protocol} argument specifies the name\n" |
"network service object. The @var{protocol} argument specifies the name\n" |
342 |
"of the desired protocol; if the protocol found in the network service\n" |
"of the desired protocol; if the protocol found in the network service\n" |