reboot.c (77122) | reboot.c (78732) |
---|---|
1/* 2 * Copyright (c) 1980, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 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 --- 28 unchanged lines hidden (view full) --- 37 The Regents of the University of California. All rights reserved.\n"; 38#endif /* not lint */ 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)reboot.c 8.1 (Berkeley) 6/5/93"; 43#endif 44static const char rcsid[] = | 1/* 2 * Copyright (c) 1980, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 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 --- 28 unchanged lines hidden (view full) --- 37 The Regents of the University of California. All rights reserved.\n"; 38#endif /* not lint */ 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)reboot.c 8.1 (Berkeley) 6/5/93"; 43#endif 44static const char rcsid[] = |
45 "$FreeBSD: head/sbin/reboot/reboot.c 77122 2001-05-24 09:28:59Z nik $"; | 45 "$FreeBSD: head/sbin/reboot/reboot.c 78732 2001-06-24 23:04:23Z dd $"; |
46#endif /* not lint */ 47 48#include <sys/reboot.h> 49#include <sys/types.h> 50#include <sys/sysctl.h> 51#include <signal.h> 52#include <err.h> 53#include <errno.h> 54#include <libutil.h> 55#include <pwd.h> 56#include <syslog.h> 57#include <stdio.h> | 46#endif /* not lint */ 47 48#include <sys/reboot.h> 49#include <sys/types.h> 50#include <sys/sysctl.h> 51#include <signal.h> 52#include <err.h> 53#include <errno.h> 54#include <libutil.h> 55#include <pwd.h> 56#include <syslog.h> 57#include <stdio.h> |
58#include <stdlib.h> |
|
58#include <string.h> 59#include <unistd.h> 60 61void usage(void); 62u_int get_pageins(void); 63 64int dohalt; 65 --- 149 unchanged lines hidden --- | 59#include <string.h> 60#include <unistd.h> 61 62void usage(void); 63u_int get_pageins(void); 64 65int dohalt; 66 --- 149 unchanged lines hidden --- |