[uClibc-cvs] uClibc/libc/sysdeps/linux/common/bits ustat.h,1.1,1.2

Erik Andersen andersen at uclibc.org
Fri Aug 8 10:07:33 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/common/bits
In directory winder:/tmp/cvs-serv19219/libc/sysdeps/linux/common/bits

Modified Files:
	ustat.h 
Log Message:
Add support for personality(), prctl(), ustat(), and ulimit()
syscalls, which had managed to stay unimplemented thus far.
 -Erik


Index: ustat.h
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/bits/ustat.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ustat.h	1 Mar 2002 20:46:02 -0000	1.1
+++ ustat.h	8 Aug 2003 10:07:30 -0000	1.2
@@ -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 <bits/ustat.h> directly; use <sys/ustat.h> instead."
+#endif
+
 #include <sys/types.h>
 
 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];
   };




More information about the uClibc-cvs mailing list