[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
errno ENOLCK
I noticed that MiNTlib PL46 errno.h doesn't include defination for
ENOLCK (locking unavailable) and I replaced it with EINVAL (invalid
function) that ram-fs returns. So, now I'm wondering whether this
will work on all MiNT filesystems not implementing locking?
- Eero
------ excerpt from linux errno manual page --------
POSIX lists the following symbolic error names:
E2BIG Arg list too long
EACCES Permission denied
EAGAIN Resource temporarily unavailable
EBADF Bad file descriptor
EBUSY Resource busy
ECHILD No child processes
EDEADLK Resource deadlock avoided
EDOM Domain error
EEXIST File exists
EFAULT Bad address
EFBIG File too large
EINTR Interrupted function call
EINVAL Invalid argument
EIO Input/output error
EISDIR Is a directory
EMFILE Too many open files
EMLINK Too many links
ENAMETOOLONG Filename too long
ENFILE Too many open files in system
ENODEV No such device
ENOENT No such file or directory
ENOEXEC Exec format error
ENOLCK No locks available
ENOMEM Not enough space
ENOSPC No space left on device
ENOSYS Function not implemented
ENOTDIR Not a directory
ENOTEMPTY Directory not empty
ENOTTY Inappropriate I/O control operation
ENXIO No such device or address
EPERM Operation not permitted
EPIPE Broken pipe
ERANGE Result too large
EROFS Read-only file system
ESPIPE Invalid seek
ESRCH No such process
EXDEV Improper link