mkfifo.c (9b50d9027575220cb6dd09b3e62f03f511e908b8) mkfifo.c (1c8af8787354e20c2b38cab5801698133ff8b403)
1/*
2 * Copyright (c) 1990, 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

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

51int
52main(argc, argv)
53 int argc;
54 char *argv[];
55{
56 extern int optind;
57 int ch, exitval;
58
1/*
2 * Copyright (c) 1990, 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

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

51int
52main(argc, argv)
53 int argc;
54 char *argv[];
55{
56 extern int optind;
57 int ch, exitval;
58
59 while ((ch = getopt(argc, argv, "")) != EOF)
59 while ((ch = getopt(argc, argv, "")) != -1)
60 switch(ch) {
61 case '?':
62 default:
63 usage();
64 }
65 argc -= optind;
66 argv += optind;
67 if (argv[0] == NULL)

--- 15 unchanged lines hidden ---
60 switch(ch) {
61 case '?':
62 default:
63 usage();
64 }
65 argc -= optind;
66 argv += optind;
67 if (argv[0] == NULL)

--- 15 unchanged lines hidden ---