NAME

freespace, wait_for_space - check, wait for space available on a disk

SYNOPSIS

int freespace ( char *path, double mbavail );

DESCRIPTION

freespace returns 1 if there is more than mbavail Mbytes available on the specified path, 0 otherwise.

RETURN VALUES

wait_for_space returns 0 if no check was performed, -1 if a check was performed and space was available. Otherwise it returns the number of seconds it was waiting for space.

LIBRARY

$(STOCKLIBS)

ATTRIBUTES

MT-Safe

AUTHOR

Daniel Quinlan

Table of Contents
Antelope Release 4.8 Darwin 8.7.0 2006-09-20
Boulder Real Time Technologies, Inc For more information, contact support@brtt.com