freebsd-dev/usr.bin/top/username.h
Eitan Adler 3be6ef0659 top(1): Migrate top to usr.bin
We've been maintaining top(1) for a long time, and the upstream
hasn't existed/been used in similarly as long. Make it clear that we own
top(1)

Tested with 'make universe'. Everything passed except MIPS which failed
for unrelated reasons. Install also tested for amd64.

Reviewed by:		sbruno
No objections:		imp, mmacy
Differential Revision:	https://reviews.freebsd.org/D15387
2018-05-19 22:40:23 +00:00

24 lines
576 B
C

/*
* Top users/processes display for Unix
* Version 3
*
* This program may be freely redistributed,
* but this entire comment MUST remain intact.
*
* Copyright (c) 1984, 1989, William LeFebvre, Rice University
* Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
* Copyright (c) 2016, Randy Westlund
*
* $FreeBSD$
*/
#ifndef USERNAME_H
#define USERNAME_H
int enter_user(int uid, char *name, int wecare);
int get_user(int uid);
void init_hash(void);
char *username(int uid);
int userid(char *username);
#endif /* USERNAME_H */