280 |
@end deffn |
@end deffn |
281 |
|
|
282 |
@deffn {Scheme Procedure} unread-char char [port] |
@deffn {Scheme Procedure} unread-char char [port] |
283 |
|
@deffnx {C Function} scm_unread_char (char, port) |
284 |
Place @var{char} in @var{port} so that it will be read by the |
Place @var{char} in @var{port} so that it will be read by the |
285 |
next read operation. If called multiple times, the unread characters |
next read operation. If called multiple times, the unread characters |
286 |
will be read again in last-in first-out order. If @var{port} is |
will be read again in last-in first-out order. If @var{port} is |
396 |
used only during port creation are not retained. |
used only during port creation are not retained. |
397 |
@end deffn |
@end deffn |
398 |
|
|
399 |
@deffn {Scheme Procedure} close-all-ports-except . ports |
@vgone{close-all-ports-except,1.6} |
|
[DEPRECATED] Close all open file ports used by the interpreter |
|
|
except for those supplied as arguments. This procedure |
|
|
was intended to be used before an exec call to close file descriptors |
|
|
which are not needed in the new process. However it has the |
|
|
undesirable side-effect of flushing buffers, so it's deprecated. |
|
|
Use port-for-each instead. |
|
|
@end deffn |
|
400 |
|
|
401 |
@deffn {Scheme Procedure} port-for-each proc |
@deffn {Scheme Procedure} port-for-each proc |
402 |
@deffnx {C Function} scm_port_for_each (proc) |
@deffnx {C Function} scm_port_for_each (proc) |
2233 |
@deffnx {C Function} scm_getsockname (sock) |
@deffnx {C Function} scm_getsockname (sock) |
2234 |
Return the address of @var{sock}, in the same form as the |
Return the address of @var{sock}, in the same form as the |
2235 |
object returned by @code{accept}. On many systems the address |
object returned by @code{accept}. On many systems the address |
2236 |
of a socket in the @code{AF_FILE} name space cannot be read. |
of a socket in the @code{AF_FILE} namespace cannot be read. |
2237 |
@end deffn |
@end deffn |
2238 |
|
|
2239 |
@deffn {Scheme Procedure} getpeername sock |
@deffn {Scheme Procedure} getpeername sock |
2241 |
Return the address that @var{sock} |
Return the address that @var{sock} |
2242 |
is connected to, in the same form as the object returned by |
is connected to, in the same form as the object returned by |
2243 |
@code{accept}. On many systems the address of a socket in the |
@code{accept}. On many systems the address of a socket in the |
2244 |
@code{AF_FILE} name space cannot be read. |
@code{AF_FILE} namespace cannot be read. |
2245 |
@end deffn |
@end deffn |
2246 |
|
|
2247 |
@deffn {Scheme Procedure} recv! sock buf [flags] |
@deffn {Scheme Procedure} recv! sock buf [flags] |