Changeset 3140 for trunk/src/kmk/getloadavg.c
- Timestamp:
- Mar 14, 2018, 10:28:10 PM (7 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk
-
Property svn:mergeinfo
set to
/vendor/gnumake/current merged eligible
-
Property svn:mergeinfo
set to
-
trunk/src/kmk/getloadavg.c
r2591 r3140 1 1 /* Get the system load averages. 2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 3 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 4 2008, 2009, 2010 Free Software Foundation, Inc. 2 Copyright (C) 1985-2016 Free Software Foundation, Inc. 5 3 6 4 GNU Make is free software; you can redistribute it and/or modify it under the … … 87 85 88 86 /* Exclude all the code except the test program at the end 89 if the system has its own `getloadavg' function.90 91 The declaration of `errno' is needed by the test program87 if the system has its own 'getloadavg' function. 88 89 The declaration of 'errno' is needed by the test program 92 90 as well as the function itself, so it comes first. */ 93 91 … … 748 746 /* This call can return -1 for an error, but with good args 749 747 it's not supposed to fail. The first argument is for no 750 apparent reason of type `long int *'. */748 apparent reason of type 'long int *'. */ 751 749 dg_sys_info ((long int *) &load_info, 752 750 DG_SYS_INFO_LOAD_INFO_TYPE, … … 991 989 992 990 #ifdef TEST 993 #include "make .h"991 #include "makeint.h" 994 992 995 993 int
Note:
See TracChangeset
for help on using the changeset viewer.