02.07.2013 Views

A/UX® Programmer's Reference

A/UX® Programmer's Reference

A/UX® Programmer's Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

intro(2) intro(2)<br />

gisters or if there is not enough swap space during a fork.<br />

13 EACCES Permission denied<br />

An attempt was made to access a file in a way forbidden by<br />

the protection system.<br />

14 EFAULT Badaddress<br />

The system encountered a hardware fault when attempting to<br />

use an argument of a system call.<br />

15 ENOTBLK Block device required<br />

A nonblock file was mentioned where a block device was required,<br />

for example, in mount.<br />

16 EBUSY Mount device busy<br />

The device or resource is currently unavailable. An attempt<br />

was made to mount a device that was already mounted or to<br />

dismount a device on which there is an active file (open file,<br />

current directory, mounted-on file, or active text segment).<br />

This error also occurs if an attempt is made to enable accounting<br />

that is already enabled.<br />

17 EEXIST File exists<br />

An existing file was mentioned in an inappropriate context,<br />

for example, link.<br />

18 EXDEV Cross-device link<br />

A link to a file on another device was attempted.<br />

19 ENODEV No such device<br />

An attempt was made to apply an inappropriate system call to<br />

a device, for example, to read a write-only device.<br />

20 ENOTDIR Not a directory<br />

A nondirectory was specified where a directory is required,<br />

for example, in a path prefix or as an argument to chdir(2).<br />

21 EISDIR Is a directory<br />

An attempt was made to write on a directory.<br />

22 EINVAL Invalid argument<br />

An invalid argument was implemented-for example,<br />

dismounting a nonmounted device, mentioning an undefined<br />

signal in signal or kill, reading or writing a file for<br />

which lseek has generated a negative pointer. This error is<br />

also generated by the math functions described in the (3M)<br />

entries of this manual.<br />

February, 1990 3<br />

Revision C

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!