gloadavg.c (31306) | gloadavg.c (50476) |
---|---|
1/* 2 * gloadavg.c - get load average for Linux 3 * Copyright (C) 1993 Thomas Koenig 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26#ifndef lint 27static const char rcsid[] = | 1/* 2 * gloadavg.c - get load average for Linux 3 * Copyright (C) 1993 Thomas Koenig 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26#ifndef lint 27static const char rcsid[] = |
28 "$Id$"; | 28 "$FreeBSD: head/libexec/atrun/gloadavg.c 50476 1999-08-28 00:22:10Z peter $"; |
29#endif /* not lint */ 30 31#ifndef __FreeBSD__ 32#define _POSIX_SOURCE 1 33 34/* System Headers */ 35 36#include <stdio.h> --- 36 unchanged lines hidden --- | 29#endif /* not lint */ 30 31#ifndef __FreeBSD__ 32#define _POSIX_SOURCE 1 33 34/* System Headers */ 35 36#include <stdio.h> --- 36 unchanged lines hidden --- |