* For mailing lists, Alpine adds a description of the type of link
[alpine.git] / alpine / osdep / diskquot.non.c
blob2eb64638b30c037fa47597549f33dd28eabf17ab
1 /*
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 * ========================================================================
14 #include <system.h>
16 #ifdef USE_QUOTAS
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
26 the soft limit.
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
32 ----*/
33 long
34 disk_quota(path, over)
35 char *path;
36 int *over;
38 return(0L);
40 #endif /* USE_QUOTAS */