lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /* Header describing obsolete `ustat' interface. |
| 2 | Copyright (C) 1996-2015 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. |
| 4 | |
| 5 | The GNU C Library is free software; you can redistribute it and/or |
| 6 | modify it under the terms of the GNU Lesser General Public |
| 7 | License as published by the Free Software Foundation; either |
| 8 | version 2.1 of the License, or (at your option) any later version. |
| 9 | |
| 10 | The GNU C Library is distributed in the hope that it will be useful, |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | Lesser General Public License for more details. |
| 14 | |
| 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ |
| 18 | |
| 19 | /* |
| 20 | * This interface is obsolete. Use <sys/statfs.h> instead. |
| 21 | */ |
| 22 | |
| 23 | #ifndef _SYS_USTAT_H |
| 24 | #define _SYS_USTAT_H 1 |
| 25 | |
| 26 | #include <features.h> |
| 27 | |
| 28 | #include <sys/types.h> |
| 29 | #include <bits/ustat.h> |
| 30 | |
| 31 | __BEGIN_DECLS |
| 32 | |
| 33 | extern int ustat (__dev_t __dev, struct ustat *__ubuf) __THROW; |
| 34 | |
| 35 | __END_DECLS |
| 36 | |
| 37 | #endif /* sys/ustat.h */ |