null(7) DG/UX 5.4R3.00 null(7)
NAME
null - the null file
DESCRIPTION
The null pseudo-device is the proverbial "bit bucket". It works just
as an ordinary disk file except that there is never any data to read,
and written data is discarded.
For the open and close system calls, null behaves like an ordinary
disk file.
For the read system call, null behaves like an ordinary disk file,
except that the read will always return 0 bytes and the user's buffer
will be unmodified.
For the write system call, null behaves like an ordinary disk file,
except that the data is discarded.
There are no ioctl system calls that are specific to null. Other
ioctl calls that apply to ordinary disk files also apply to null.
Select always returns READY for both read and write operations.
FILES
/dev/null
SEE ALSO
ioctl(2), open(2), read(2), select(2), write(2).
Licensed material--property of copyright holder(s) 1