public interface Errno
System error numbers from
errno.h.
Actual numbers are system-dependend and will be provided by implementation modules.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioninte2big()Argument list too longinteacces()Permission deniedintebadf()Bad file numberinteexist()File already existsinteinval()Invalid argumentinteio()I/O errorinteisdir()Is a directoryintFilename too longintenoattr()The named attribute does not exist, or the process has no access to this attribute;intenodata()The named attribute does not exist, or the process has no access to this attribute;intenoent()No such file or directoryintenolck()No locks availableintenomem()Not enough memoryintenosys()Unsupported operationintenotdir()Not a directoryintDirectory not emptyintenotsup()Operation not supportedinterange()Result too largeinterofs()Read only file system
-
Method Details
-
enoent
int enoent()No such file or directory- Returns:
- error constant
ENOENT
-
enosys
int enosys()Unsupported operation- Returns:
- error constant
ENOSYS
-
enomem
int enomem()Not enough memory- Returns:
- error constant
ENOMEM
-
eacces
int eacces()Permission denied- Returns:
- error constant
EACCES
-
eio
int eio()I/O error- Returns:
- error constant
EIO
-
erofs
int erofs()Read only file system- Returns:
- error constant
EROFS
-
ebadf
int ebadf()Bad file number- Returns:
- error constant
EBADF
-
eexist
int eexist()File already exists- Returns:
- error constant
EEXIST
-
enotdir
int enotdir()Not a directory- Returns:
- error constant
ENOTDIR
-
eisdir
int eisdir()Is a directory- Returns:
- error constant
EISDIR
-
enotempty
int enotempty()Directory not empty- Returns:
- error constant
ENOTEMPTY
-
enotsup
int enotsup()Operation not supported- Returns:
- error constant
ENOTSUP
-
einval
int einval()Invalid argument- Returns:
- error constant
EINVAL
-
erange
int erange()Result too large- Returns:
- error constant
ERANGE
-
enolck
int enolck()No locks available- Returns:
- error constant
ENOLCK
-
enametoolong
int enametoolong()Filename too long- Returns:
- error constant
ENAMETOOLONG
-
enodata
int enodata()The named attribute does not exist, or the process has no access to this attribute;- Returns:
- error constant
ENODATA
-
enoattr
int enoattr()The named attribute does not exist, or the process has no access to this attribute;- Returns:
- error constant
ENOATTR
-
e2big
int e2big()Argument list too long- Returns:
- error constant
E2BIG
-