1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Tony Nardo of the Johns Hopkins University/Applied Physics Lab. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 27 unchanged lines hidden (view full) --- 36 37#if 0 38#ifndef lint 39static char sccsid[] = "@(#)lprint.c 8.3 (Berkeley) 4/28/95"; 40#endif 41#endif 42 43#include <sys/cdefs.h> |
44__FBSDID("$FreeBSD: head/usr.bin/finger/lprint.c 201140 2009-12-28 20:54:34Z ed $"); |
45 46#include <sys/types.h> 47#include <sys/socket.h> 48#include <sys/stat.h> 49#include <sys/time.h> 50#include <ctype.h> 51#include <db.h> 52#include <err.h> 53#include <fcntl.h> 54#include <langinfo.h> 55#include <paths.h> 56#include <pwd.h> 57#include <stdio.h> 58#include <string.h> |
59#define _ULOG_POSIX_NAMES 60#include <ulog.h> |
61#include <unistd.h> |
62#include "finger.h" 63#include "pathnames.h" 64 65#define LINE_LEN 80 66#define TAB_LEN 8 /* 8 spaces between tabs */ 67 68static int demi_print(char *, int); 69static void lprint(PERSON *); --- 299 unchanged lines hidden --- |