From ea9f6e1e2d60bac4e2c7f1fb9ee98f581a7c6229 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 8 Aug 2003 10:07:32 +0000 Subject: Add support for personality(), prctl(), ustat(), and ulimit() syscalls, which had managed to stay unimplemented thus far. -Erik --- libc/sysdeps/linux/common/bits/ustat.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/common/bits/ustat.h') diff --git a/libc/sysdeps/linux/common/bits/ustat.h b/libc/sysdeps/linux/common/bits/ustat.h index aeafc22a5..69c6b7227 100644 --- a/libc/sysdeps/linux/common/bits/ustat.h +++ b/libc/sysdeps/linux/common/bits/ustat.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -16,12 +16,16 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#ifndef _SYS_USTAT_H +# error "Never include directly; use instead." +#endif + #include struct ustat { - __daddr_t f_tfree; - __ino_t f_tinode; + __daddr_t f_tfree; /* Number of free blocks. */ + __ino_t f_tinode; /* Number of free inodes. */ char f_fname[6]; char f_fpack[6]; }; -- cgit v1.2.3