delorie.com/djgpp/doc/libc/libc_483.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <sys/xdevices.h> int __install_dev_zero (void); |
This function activates support for the special file `/dev/zero'. When read, `dev/zero' always returns `\0' characters. When written, `/dev/zero' discards the data. Seeks on `/dev/zero' will always succeed.
The DJGPP debug support functions will interfere with `/dev/zero' (see section File System Extensions).
On success, a non-zero value is returned; on failure, zero is returned.
ANSI/ISO C | No |
POSIX | No |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |