Re: fcntl problems
- From: Miles <semanticist@xxxxxxxxx>
- Date: Fri, 31 Aug 2007 11:33:03 -0400
On 8/31/07, mhearne808 wrote:
Looking at my flock(3) man page, I'm guessing that "35" is the error
code for EWOULDBLOCK. Which system header file am I supposed to look
in to figure that magic number out?
I got the error number by looking at the IOError exception raised when
playing with the interactive interpreter, but I really should have
written:
from errno import EWOULDBLOCK
....
if e.args[0] == EWOULDBLOCK:
....
- Miles
.
- References:
- fcntl problems
- From: mhearne808[insert-at-sign-here]gmail[insert-dot-here]com
- Re: fcntl problems
- From: mhearne808[insert-at-sign-here]gmail[insert-dot-here]com
- Re: fcntl problems
- From: Miles
- Re: fcntl problems
- From: mhearne808[insert-at-sign-here]gmail[insert-dot-here]com
- Re: fcntl problems
- From: Miles
- Re: fcntl problems
- From: mhearne808[insert-at-sign-here]gmail[insert-dot-here]com
- fcntl problems
- Prev by Date: Re: Setting a read-only attribute
- Next by Date: JavaScript
- Previous by thread: Re: fcntl problems
- Next by thread: Re: fcntl problems
- Index(es):
Relevant Pages
|