prettiness police
[nvi.git] / common / args.h
blobdae713ea12a57852ae77c2f8a5a97a273a7455fa
1 /*-
2 * Copyright (c) 1993 The Regents of the University of California.
3 * All rights reserved.
5 * %sccs.include.redist.c%
7 * $Id: args.h,v 8.1 1993/12/02 10:27:47 bostic Exp $ (Berkeley) $Date: 1993/12/02 10:27:47 $
8 */
11 * Structure for building "argc/argv" vector of arguments.
13 * !!!
14 * All arguments are nul terminated as well as having an
15 * associated length. The argument vector is NULL terminated.
17 typedef struct _args {
18 CHAR_T *bp; /* Argument. */
19 size_t blen; /* Buffer length. */
20 size_t len; /* Argument length. */
22 #define A_ALLOCATED 0x01 /* If allocated space. */
23 u_char flags;
24 } ARGS;