[Python-bugs-list] [ python-Bugs-415522 ] documentation: fnctl 8.12
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 11 Apr 2001 14:34:10 -0700
Bugs item #415522, was updated on 2001-04-11 14:21
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=415522&group_id=5470
Category: Documentation
Group: None
>Status: Closed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: documentation: fnctl 8.12
Initial Comment:
The sample code does not work. Call ti fcntl should
have second
argument as FCNTL.SETFL and third arg as FCNTL.NDELAY.
Corrected example:
import struct, fcntl, FCNTL
file = open(...)
rv = fcntl.fcntl(file.fileno(),
FCNTL.F_SETFL,FCNTL.O_NDELAY)
....rest of sample code
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-04-11 14:34
Message:
Logged In: YES
user_id=3066
Fixed in Doc/lib/libfcntl.tex revision 1.25.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=415522&group_id=5470