source: trunk/athena/bin/attach/agetopt.h @ 12589

Revision 12589, 901 bytes checked in by danw, 25 years ago (diff)
Update to use liblocker
Line 
1/* Copyright 1998 by the Massachusetts Institute of Technology.
2 *
3 * Permission to use, copy, modify, and distribute this
4 * software and its documentation for any purpose and without
5 * fee is hereby granted, provided that the above copyright
6 * notice appear in all copies and that both that copyright
7 * notice and this permission notice appear in supporting
8 * documentation, and that the name of M.I.T. not be used in
9 * advertising or publicity pertaining to distribution of the
10 * software without specific, written prior permission.
11 * M.I.T. makes no representations about the suitability of
12 * this software for any purpose.  It is provided "as is"
13 * without express or implied warranty.
14 */
15
16struct agetopt_option {
17  const char *longname;
18  char shortname;
19  int arg;
20};
21
22int attach_getopt(int argc, char **argv, struct agetopt_option *options);
23
24extern int optind;
25extern char *optarg;
Note: See TracBrowser for help on using the repository browser.