talkd.c (0b67b493a9e20a8b409768d7fee894ecfe720c1b) talkd.c (02a0965ef64123ce8c752d08176f2ec702d4aee6)
1/*
2 * Copyright (c) 1983, 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

--- 40 unchanged lines hidden (view full) ---

49 * The top level of the daemon, the format is heavily borrowed
50 * from rwhod.c. Basically: find out who and where you are;
51 * disconnect all descriptors and ttys, and then endless
52 * loop on waiting for and processing requests
53 */
54#include <sys/types.h>
55#include <sys/socket.h>
56#include <sys/param.h>
1/*
2 * Copyright (c) 1983, 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

--- 40 unchanged lines hidden (view full) ---

49 * The top level of the daemon, the format is heavily borrowed
50 * from rwhod.c. Basically: find out who and where you are;
51 * disconnect all descriptors and ttys, and then endless
52 * loop on waiting for and processing requests
53 */
54#include <sys/types.h>
55#include <sys/socket.h>
56#include <sys/param.h>
57#include <netinet/in.h>
57#include <protocols/talkd.h>
58#include <err.h>
59#include <errno.h>
60#include <paths.h>
61#include <signal.h>
62#include <stdio.h>
63#include <stdlib.h>
64#include <string.h>

--- 74 unchanged lines hidden ---
58#include <protocols/talkd.h>
59#include <err.h>
60#include <errno.h>
61#include <paths.h>
62#include <signal.h>
63#include <stdio.h>
64#include <stdlib.h>
65#include <string.h>

--- 74 unchanged lines hidden ---