Style in rcsid, sort #include.
This commit is contained in:
parent
79624e2147
commit
3efa2f585c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28995
@ -28,7 +28,7 @@
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id$
|
||||
.\" $Id: ac.8,v 1.9 1997/02/22 16:01:10 peter Exp $
|
||||
.\"
|
||||
.Dd March 15, 1994
|
||||
.Dt AC 8
|
||||
@ -89,7 +89,7 @@ Display totals for the given individuals only.
|
||||
.El
|
||||
.Pp
|
||||
If no arguments are given,
|
||||
.Nm ac
|
||||
.Nm
|
||||
displays the total connect time for all
|
||||
accounts with login sessions recorded in
|
||||
.Pa wtmp .
|
||||
@ -119,7 +119,7 @@ to be charged out at a different rate than
|
||||
.Pa other .
|
||||
.Pp
|
||||
The
|
||||
.Nm ac
|
||||
.Nm
|
||||
utility exits 0 on success, and >0 if a fatal error occurs.
|
||||
.Sh FILES
|
||||
.Bl -tag -width /var/log/wtmp.[0-7] -compact
|
||||
|
@ -14,21 +14,22 @@
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id: ac.c,v 1.6 1997/02/22 16:01:11 peter Exp $";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id$";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/time.h>
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <locale.h>
|
||||
#include <pwd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <utmp.h>
|
||||
#include <unistd.h>
|
||||
#include <locale.h>
|
||||
#include <utmp.h>
|
||||
|
||||
/*
|
||||
* this is for our list of currently logged in sessions
|
||||
|
Loading…
Reference in New Issue
Block a user