home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
p
/
python
/
pyhtmldoc
/
e
/
errno
next >
Wrap
Text File
|
1996-11-14
|
11KB
|
380 lines
<TITLE>errno -- Python library reference</TITLE>
Prev: <A HREF="../t/tempfile" TYPE="Prev">tempfile</A>
Up: <A HREF="../g/generic_operating_system_services" TYPE="Up">Generic Operating System Services</A>
Top: <A HREF="../t/top" TYPE="Top">Top</A>
<H1>6.5. Standard Module <CODE>errno</CODE></H1>
This module makes available standard errno system symbols.
The value of each symbol is the corresponding integer value.
The names and descriptions are borrowed from linux/include/errno.h,
which should be pretty all-inclusive. Of the following list, symbols
that are not used on the current platform are not defined by the
module.
<P>
Symbols available can include:
<DL><DT><B>EPERM</B> -- data of module errno<DD>
Operation not permitted
</DL>
<DL><DT><B>ENOENT</B> -- data of module errno<DD>
No such file or directory
</DL>
<DL><DT><B>ESRCH</B> -- data of module errno<DD>
No such process
</DL>
<DL><DT><B>EINTR</B> -- data of module errno<DD>
Interrupted system call
</DL>
<DL><DT><B>EIO</B> -- data of module errno<DD>
I/O error
</DL>
<DL><DT><B>ENXIO</B> -- data of module errno<DD>
No such device or address
</DL>
<DL><DT><B>E2BIG</B> -- data of module errno<DD>
Arg list too long
</DL>
<DL><DT><B>ENOEXEC</B> -- data of module errno<DD>
Exec format error
</DL>
<DL><DT><B>EBADF</B> -- data of module errno<DD>
Bad file number
</DL>
<DL><DT><B>ECHILD</B> -- data of module errno<DD>
No child processes
</DL>
<DL><DT><B>EAGAIN</B> -- data of module errno<DD>
Try again
</DL>
<DL><DT><B>ENOMEM</B> -- data of module errno<DD>
Out of memory
</DL>
<DL><DT><B>EACCES</B> -- data of module errno<DD>
Permission denied
</DL>
<DL><DT><B>EFAULT</B> -- data of module errno<DD>
Bad address
</DL>
<DL><DT><B>ENOTBLK</B> -- data of module errno<DD>
Block device required
</DL>
<DL><DT><B>EBUSY</B> -- data of module errno<DD>
Device or resource busy
</DL>
<DL><DT><B>EEXIST</B> -- data of module errno<DD>
File exists
</DL>
<DL><DT><B>EXDEV</B> -- data of module errno<DD>
Cross-device link
</DL>
<DL><DT><B>ENODEV</B> -- data of module errno<DD>
No such device
</DL>
<DL><DT><B>ENOTDIR</B> -- data of module errno<DD>
Not a directory
</DL>
<DL><DT><B>EISDIR</B> -- data of module errno<DD>
Is a directory
</DL>
<DL><DT><B>EINVAL</B> -- data of module errno<DD>
Invalid argument
</DL>
<DL><DT><B>ENFILE</B> -- data of module errno<DD>
File table overflow
</DL>
<DL><DT><B>EMFILE</B> -- data of module errno<DD>
Too many open files
</DL>
<DL><DT><B>ENOTTY</B> -- data of module errno<DD>
Not a typewriter
</DL>
<DL><DT><B>ETXTBSY</B> -- data of module errno<DD>
Text file busy
</DL>
<DL><DT><B>EFBIG</B> -- data of module errno<DD>
File too large
</DL>
<DL><DT><B>ENOSPC</B> -- data of module errno<DD>
No space left on device
</DL>
<DL><DT><B>ESPIPE</B> -- data of module errno<DD>
Illegal seek
</DL>
<DL><DT><B>EROFS</B> -- data of module errno<DD>
Read-only file system
</DL>
<DL><DT><B>EMLINK</B> -- data of module errno<DD>
Too many links
</DL>
<DL><DT><B>EPIPE</B> -- data of module errno<DD>
Broken pipe
</DL>
<DL><DT><B>EDOM</B> -- data of module errno<DD>
Math argument out of domain of func
</DL>
<DL><DT><B>ERANGE</B> -- data of module errno<DD>
Math result not representable
</DL>
<DL><DT><B>EDEADLK</B> -- data of module errno<DD>
Resource deadlock would occur
</DL>
<DL><DT><B>ENAMETOOLONG</B> -- data of module errno<DD>
File name too long
</DL>
<DL><DT><B>ENOLCK</B> -- data of module errno<DD>
No record locks available
</DL>
<DL><DT><B>ENOSYS</B> -- data of module errno<DD>
Function not implemented
</DL>
<DL><DT><B>ENOTEMPTY</B> -- data of module errno<DD>
Directory not empty
</DL>
<DL><DT><B>ELOOP</B> -- data of module errno<DD>
Too many symbolic links encountered
</DL>
<DL><DT><B>EWOULDBLOCK</B> -- data of module errno<DD>
Operation would block
</DL>
<DL><DT><B>ENOMSG</B> -- data of module errno<DD>
No message of desired type
</DL>
<DL><DT><B>EIDRM</B> -- data of module errno<DD>
Identifier removed
</DL>
<DL><DT><B>ECHRNG</B> -- data of module errno<DD>
Channel number out of range
</DL>
<DL><DT><B>EL2NSYNC</B> -- data of module errno<DD>
Level 2 not synchronized
</DL>
<DL><DT><B>EL3HLT</B> -- data of module errno<DD>
Level 3 halted
</DL>
<DL><DT><B>EL3RST</B> -- data of module errno<DD>
Level 3 reset
</DL>
<DL><DT><B>ELNRNG</B> -- data of module errno<DD>
Link number out of range
</DL>
<DL><DT><B>EUNATCH</B> -- data of module errno<DD>
Protocol driver not attached
</DL>
<DL><DT><B>ENOCSI</B> -- data of module errno<DD>
No CSI structure available
</DL>
<DL><DT><B>EL2HLT</B> -- data of module errno<DD>
Level 2 halted
</DL>
<DL><DT><B>EBADE</B> -- data of module errno<DD>
Invalid exchange
</DL>
<DL><DT><B>EBADR</B> -- data of module errno<DD>
Invalid request descriptor
</DL>
<DL><DT><B>EXFULL</B> -- data of module errno<DD>
Exchange full
</DL>
<DL><DT><B>ENOANO</B> -- data of module errno<DD>
No anode
</DL>
<DL><DT><B>EBADRQC</B> -- data of module errno<DD>
Invalid request code
</DL>
<DL><DT><B>EBADSLT</B> -- data of module errno<DD>
Invalid slot
</DL>
<DL><DT><B>EDEADLOCK</B> -- data of module errno<DD>
File locking deadlock error
</DL>
<DL><DT><B>EBFONT</B> -- data of module errno<DD>
Bad font file format
</DL>
<DL><DT><B>ENOSTR</B> -- data of module errno<DD>
Device not a stream
</DL>
<DL><DT><B>ENODATA</B> -- data of module errno<DD>
No data available
</DL>
<DL><DT><B>ETIME</B> -- data of module errno<DD>
Timer expired
</DL>
<DL><DT><B>ENOSR</B> -- data of module errno<DD>
Out of streams resources
</DL>
<DL><DT><B>ENONET</B> -- data of module errno<DD>
Machine is not on the network
</DL>
<DL><DT><B>ENOPKG</B> -- data of module errno<DD>
Package not installed
</DL>
<DL><DT><B>EREMOTE</B> -- data of module errno<DD>
Object is remote
</DL>
<DL><DT><B>ENOLINK</B> -- data of module errno<DD>
Link has been severed
</DL>
<DL><DT><B>EADV</B> -- data of module errno<DD>
Advertise error
</DL>
<DL><DT><B>ESRMNT</B> -- data of module errno<DD>
Srmount error
</DL>
<DL><DT><B>ECOMM</B> -- data of module errno<DD>
Communication error on send
</DL>
<DL><DT><B>EPROTO</B> -- data of module errno<DD>
Protocol error
</DL>
<DL><DT><B>EMULTIHOP</B> -- data of module errno<DD>
Multihop attempted
</DL>
<DL><DT><B>EDOTDOT</B> -- data of module errno<DD>
RFS specific error
</DL>
<DL><DT><B>EBADMSG</B> -- data of module errno<DD>
Not a data message
</DL>
<DL><DT><B>EOVERFLOW</B> -- data of module errno<DD>
Value too large for defined data type
</DL>
<DL><DT><B>ENOTUNIQ</B> -- data of module errno<DD>
Name not unique on network
</DL>
<DL><DT><B>EBADFD</B> -- data of module errno<DD>
File descriptor in bad state
</DL>
<DL><DT><B>EREMCHG</B> -- data of module errno<DD>
Remote address changed
</DL>
<DL><DT><B>ELIBACC</B> -- data of module errno<DD>
Can not access a needed shared library
</DL>
<DL><DT><B>ELIBBAD</B> -- data of module errno<DD>
Accessing a corrupted shared library
</DL>
<DL><DT><B>ELIBSCN</B> -- data of module errno<DD>
.lib section in a.out corrupted
</DL>
<DL><DT><B>ELIBMAX</B> -- data of module errno<DD>
Attempting to link in too many shared libraries
</DL>
<DL><DT><B>ELIBEXEC</B> -- data of module errno<DD>
Cannot exec a shared library directly
</DL>
<DL><DT><B>EILSEQ</B> -- data of module errno<DD>
Illegal byte sequence
</DL>
<DL><DT><B>ERESTART</B> -- data of module errno<DD>
Interrupted system call should be restarted
</DL>
<DL><DT><B>ESTRPIPE</B> -- data of module errno<DD>
Streams pipe error
</DL>
<DL><DT><B>EUSERS</B> -- data of module errno<DD>
Too many users
</DL>
<DL><DT><B>ENOTSOCK</B> -- data of module errno<DD>
Socket operation on non-socket
</DL>
<DL><DT><B>EDESTADDRREQ</B> -- data of module errno<DD>
Destination address required
</DL>
<DL><DT><B>EMSGSIZE</B> -- data of module errno<DD>
Message too long
</DL>
<DL><DT><B>EPROTOTYPE</B> -- data of module errno<DD>
Protocol wrong type for socket
</DL>
<DL><DT><B>ENOPROTOOPT</B> -- data of module errno<DD>
Protocol not available
</DL>
<DL><DT><B>EPROTONOSUPPORT</B> -- data of module errno<DD>
Protocol not supported
</DL>
<DL><DT><B>ESOCKTNOSUPPORT</B>