|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T s
Length: 627 (0x273)
Types: TextFile
Names: »strfile.h«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Fortune/strfile.h«
/* @(#)strfile.h 1.2 (Berkeley) 5/14/81 */
# ifndef __STRFILE__
# define __STRFILE__
# include <sys/types.h>
# define MAXDELIMS 3
/*
* bits for flag field
*/
# define STR_RANDOM 0x1
# define STR_ORDERED 0x2
typedef struct { /* information table */
unsigned long str_numstr; /* # of strings in the file */
unsigned long str_longlen; /* length of longest string */
unsigned long str_shortlen; /* length of shortest string */
long str_delims[MAXDELIMS]; /* delimiter markings */
off_t str_dpos[MAXDELIMS]; /* delimiter positions */
short str_flags; /* bit field for flags */
} STRFILE;
# endif __STRFILE__