rwall.c (146466) | rwall.c (200420) |
---|---|
1/* 2 * Copyright (c) 1993 Christopher G. Demetriou 3 * Copyright (c) 1988, 1990 Regents of the University of California. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 29 unchanged lines hidden (view full) --- 38 All rights reserved.\n"; 39#endif /* not lint */ 40 41#ifndef lint 42static const char sccsid[] = "from: @(#)wall.c 5.14 (Berkeley) 3/2/91"; 43#endif 44 45#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 1993 Christopher G. Demetriou 3 * Copyright (c) 1988, 1990 Regents of the University of California. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 29 unchanged lines hidden (view full) --- 38 All rights reserved.\n"; 39#endif /* not lint */ 40 41#ifndef lint 42static const char sccsid[] = "from: @(#)wall.c 5.14 (Berkeley) 3/2/91"; 43#endif 44 45#include <sys/cdefs.h> |
46__FBSDID("$FreeBSD: head/usr.bin/rwall/rwall.c 146466 2005-05-21 09:55:10Z ru $"); | 46__FBSDID("$FreeBSD: head/usr.bin/rwall/rwall.c 200420 2009-12-11 23:35:38Z delphij $"); |
47 48/* 49 * This program is not related to David Wall, whose Stanford Ph.D. thesis 50 * is entitled "Mechanisms for Broadcast and Selective Broadcast". 51 */ 52 53#include <sys/param.h> 54#include <sys/stat.h> 55#include <sys/uio.h> 56#include <rpc/rpc.h> 57#include <rpcsvc/rwall.h> 58#include <err.h> 59#include <paths.h> 60#include <pwd.h> 61#include <stdio.h> 62#include <stdlib.h> | 47 48/* 49 * This program is not related to David Wall, whose Stanford Ph.D. thesis 50 * is entitled "Mechanisms for Broadcast and Selective Broadcast". 51 */ 52 53#include <sys/param.h> 54#include <sys/stat.h> 55#include <sys/uio.h> 56#include <rpc/rpc.h> 57#include <rpcsvc/rwall.h> 58#include <err.h> 59#include <paths.h> 60#include <pwd.h> 61#include <stdio.h> 62#include <stdlib.h> |
63#include <string.h> | |
64#include <time.h> 65#include <unistd.h> 66 67char *mbuf; 68 69static char notty[] = "no tty"; 70 71void makemsg(const char *); --- 112 unchanged lines hidden --- | 63#include <time.h> 64#include <unistd.h> 65 66char *mbuf; 67 68static char notty[] = "no tty"; 69 70void makemsg(const char *); --- 112 unchanged lines hidden --- |