2 * ========================================================================
3 * Copyright 2006 University of Washington
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * ========================================================================
18 /*----------------------------------------------------------------------
19 This system doesn't have disk quotas.
20 Return space left in disk quota on file system which given path is in.
22 Args: path - Path name of file or directory on file system of concern
23 over - pointer to flag that is set if the user is over quota
25 Returns: If *over = 0, the number of bytes free in disk quota as per
27 If *over = 1, the number of bytes *over* quota.
28 -1 is returned on an error looking up quota
29 0 is returned if there is no quota
31 BUG: If there's more than 2.1Gb free this function will break
34 disk_quota(path
, over
)
40 #endif /* USE_QUOTAS */