startdaemon.c (dea673e932532f8f2d630dff2dcfc0c4a2eaf184) startdaemon.c (7f72cbbae93fd95412c690424a98f0a0da470b54)
1/*
2 * Copyright (c) 1983, 1993, 1994
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

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

97 (void) close(s);
98 return(0);
99}
100
101static void
102perr(msg)
103 char *msg;
104{
1/*
2 * Copyright (c) 1983, 1993, 1994
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

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

97 (void) close(s);
98 return(0);
99}
100
101static void
102perr(msg)
103 char *msg;
104{
105 extern char *name;
106
107 (void)printf("%s: %s: %s\n", name, msg, strerror(errno));
108}
105 (void)printf("%s: %s: %s\n", name, msg, strerror(errno));
106}