POSTING
static POSTING *
putpostingref(POSTING *p)
POSTING *p;
POSTING *p;
POSTING *p;
POSTING *p;
static POSTING *postingp; /* retrieved posting set pointer */
static POSTING *getposting(void);
POSTING *p;
static void putpostingref(POSTING *p);
POSTING *p;
if ((item2 = (POSTING *)realloc(item2,
u * sizeof (POSTING))) == NULL) {
invcannotalloc(u * sizeof (POSTING));
unsigned postsize = POSTINC * sizeof (POSTING);
POSTING posting;
enditem = (POSTING *)newsetp;
return ((POSTING *)item);
POSTING *
POSTING *ptr;
POSTING *oldstuff, *newstuff;
i = (enditem - item) * sizeof (POSTING) + 100;
if ((ptr = (POSTING *)malloc(i))r == NULL) {
if ((POST = (POSTING *)malloc(postsize)) == NULL) {
if (postptr + 10 > POST + postsize / sizeof (POSTING)) {
postsize += POSTINC * sizeof (POSTING);
if (fwrite((char *)POST, sizeof (POSTING), i, fpost) == 0) {
nextpost += i * sizeof (POSTING);
read_next_posting(INVCONTROL *invcntl, POSTING *posting)
static POSTING *item, *enditem, *item1 = NULL, *item2 = NULL;
static POSTING *POST, *postptr;
if ((item1 = (POSTING *)malloc(SETINC * sizeof (POSTING))) == NULL) {
if ((item2 = (POSTING *)malloc(SETINC * sizeof (POSTING))) == NULL) {
POSTING *
POSTING *newitem;
POSTING posting;
POSTING *newsetp, *set1p;
if ((item1 = (POSTING *) realloc(item1,
u * sizeof (POSTING))) == NULL) {
extern POSTING *boolfile(INVCONTROL *invcntl, long *num, int bool);