Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/cmd/troff/dwbinit.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


/*
 *
 * A structure used to adjust pathnames in DWB C code. Pointers
 * set the address field, arrays use the value field and must
 * also set length to the number elements in the array. Pointers
 * are always reallocated and then reinitialized; arrays are only
 * reinitialized, if there's room.
 *
 */

typedef struct {
	char	**address;
	char	*value;
	int	length;
} dwbinit;

extern void	DWBinit(char *, dwbinit *);
extern char*	DWBhome(void);
extern void	DWBprefix(char *, char *, int);

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].