[Python-checkins] CVS: python/dist/src/Modules fcntlmodule.c,2.29,2.30
Fred L. Drake
fdrake@users.sourceforge.net
Thu, 10 May 2001 08:54:34 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv25630/Modules
Modified Files:
fcntlmodule.c
Log Message:
Fix the fcntl() docstring so the user is not mis-directed to the FCNTL
module for useful constants.
Index: fcntlmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/fcntlmodule.c,v
retrieving revision 2.29
retrieving revision 2.30
diff -C2 -r2.29 -r2.30
*** fcntlmodule.c 2001/05/09 21:02:02 2.29
--- fcntlmodule.c 2001/05/10 15:54:32 2.30
***************
*** 82,92 ****
\n\
Perform the requested operation on file descriptor fd. The operation\n\
! is defined by op and is operating system dependent. Typically these\n\
! codes can be retrieved from the library module FCNTL. The argument arg\n\
! is optional, and defaults to 0; it may be an int or a string. If arg is\n\
! given as a string, the return value of fcntl is a string of that length,\n\
! containing the resulting value put in the arg buffer by the operating system.\n\
! The length of the arg string is not allowed to exceed 1024 bytes. If the arg\n\
! given is an integer or if none is specified, the result value is an integer\n\
corresponding to the return value of the fcntl call in the C code.";
--- 82,92 ----
\n\
Perform the requested operation on file descriptor fd. The operation\n\
! is defined by op and is operating system dependent. These constants are\n\
! available from the fcntl module. The argument arg is optional, and\n\
! defaults to 0; it may be an int or a string. If arg is given as a string,\n\
! the return value of fcntl is a string of that length, containing the\n\
! resulting value put in the arg buffer by the operating system.The length\n\
! of the arg string is not allowed to exceed 1024 bytes. If the arg given\n\
! is an integer or if none is specified, the result value is an integer\n\
corresponding to the return value of the fcntl call in the C code.";