/[guile]/guile/guile-core/doc/ref/posix.texi
ViewVC logotype

Diff of /guile/guile-core/doc/ref/posix.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by ttn, Tue Jan 8 08:29:00 2002 UTC revision 1.6 by ossau, Sat Mar 16 13:51:03 2002 UTC
# Line 280  The return value is unspecified. Line 280  The return value is unspecified.
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
# Line 395  the port was opened, since modes such as Line 396  the port was opened, since modes such as
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)
# Line 2239  number. Line 2233  number.
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
# Line 2247  of a socket in the @code{AF_FILE} name s Line 2241  of a socket in the @code{AF_FILE} name s
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]

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26