[BACK]Return to sysconf.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/sysconf.c between version 1.3.4.1 and 1.4

version 1.3.4.1, 1996/09/19 20:03:56 version 1.4, 1997/07/13 19:32:15
Line 36 
Line 36 
  * SUCH DAMAGE.   * SUCH DAMAGE.
  */   */
   
   #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)  #if defined(LIBC_SCCS) && !defined(lint)
 #if 0  #if 0
 static char sccsid[] = "@(#)sysconf.c   8.2 (Berkeley) 3/20/94";  static char sccsid[] = "@(#)sysconf.c   8.2 (Berkeley) 3/20/94";
 #else  #else
 static char rcsid[] = "$NetBSD$";  __RCSID("$NetBSD$");
 #endif  #endif
 #endif /* LIBC_SCCS and not lint */  #endif /* LIBC_SCCS and not lint */
   
 #include "namespace.h"  
 #include <sys/param.h>  #include <sys/param.h>
 #include <sys/sysctl.h>  #include <sys/sysctl.h>
 #include <sys/time.h>  #include <sys/time.h>
Line 53  static char rcsid[] = "$NetBSD$";
Line 53  static char rcsid[] = "$NetBSD$";
 #include <errno.h>  #include <errno.h>
 #include <unistd.h>  #include <unistd.h>
   
 #ifdef __weak_alias  
 __weak_alias(sysconf,_sysconf);  
 #endif  
   
 /*  /*
  * sysconf --   * sysconf --
  *      get configurable system variables.   *      get configurable system variables.
Line 73  long
Line 69  long
 sysconf(name)  sysconf(name)
         int name;          int name;
 {  {
         struct clockinfo clk;  
         struct rlimit rl;          struct rlimit rl;
         size_t len;          size_t len;
         int mib[2], value;          int mib[2], value;

Legend:
Removed from v.1.3.4.1  
changed lines
  Added in v.1.4

CVSweb <webmaster@jp.NetBSD.org>