[Python-checkins] python/dist/src/Doc/lib libfcntl.tex,1.32,1.33

fdrake at users.sourceforge.net fdrake at users.sourceforge.net
Fri Jan 16 11:07:07 EST 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv3373

Modified Files:
	libfcntl.tex 
Log Message:
minor markup improvements


Index: libfcntl.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfcntl.tex,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** libfcntl.tex	7 Dec 2003 13:00:25 -0000	1.32
--- libfcntl.tex	16 Jan 2004 16:07:04 -0000	1.33
***************
*** 34,38 ****
    C \cfunction{fcntl()} call.  When the argument is a string it
    represents a binary structure, e.g.\ created by
!   \function{struct.pack()}. The binary data is copied to a buffer
    whose address is passed to the C \cfunction{fcntl()} call.  The
    return value after a successful call is the contents of the buffer,
--- 34,38 ----
    C \cfunction{fcntl()} call.  When the argument is a string it
    represents a binary structure, e.g.\ created by
!   \function{\refmodule{struct}.pack()}. The binary data is copied to a buffer
    whose address is passed to the C \cfunction{fcntl()} call.  The
    return value after a successful call is the contents of the buffer,
***************
*** 73,80 ****
    to the underlying \function{ioctl()} system call, the latter's
    return code is passed back to the calling Python, and the buffer's
!   new contents reflect the action of the \function{ioctl}.  This is a
    slight simplification, because if the supplied buffer is less than
    1024 bytes long it is first copied into a static buffer 1024 bytes
!   long which is then passed to \function{ioctl} and copied back into
    the supplied buffer.
    
--- 73,80 ----
    to the underlying \function{ioctl()} system call, the latter's
    return code is passed back to the calling Python, and the buffer's
!   new contents reflect the action of the \function{ioctl()}.  This is a
    slight simplification, because if the supplied buffer is less than
    1024 bytes long it is first copied into a static buffer 1024 bytes
!   long which is then passed to \function{ioctl()} and copied back into
    the supplied buffer.
    
***************
*** 168,174 ****
  
  \begin{seealso}
!   \seemodule{os}{The \function{os.open} function supports locking flags
!                  and is available on a wider variety of platforms than 
!                  the \function{fcntl.lockf} and \function{fcntl.flock}
                   functions, providing a more platform-independent file
                   locking facility.}
--- 168,174 ----
  
  \begin{seealso}
!   \seemodule{os}{The \function{os.open()} function supports locking flags
!                  and is available on a wider variety of platforms than
!                  the \function{lockf()} and \function{flock()}
                   functions, providing a more platform-independent file
                   locking facility.}





More information about the Python-checkins mailing list