This is s.getplist.c in view mode; [Download] [Up]
h53801
s 00000/00000/00030
d D 1.2 85/11/26 23:01:49 dgl 2 1
c eliminated LOOKED_ALREADY from getheader to cure bug
c re. trying to add property to stdin if no header exists yet.
e
s 00030/00000/00000
d D 1.1 85/11/25 09:58:43 dgl 1 0
c original version
e
u
U
f i
t
T
I 1
/* %M% %I% (CARL) %G% %U% */
#include <stdio.h>
#include <carl/carl.h>
#include <carl/procom.h>
/*
* getplist - return pointer to head of property list for iop
* takes:
* iop
* returns:
* pointer to property list
* NULL if none
*/
PROP *
getplist(iop)
FILE *iop;
{
register struct fltbuf *f;
register struct proplist *pl;
if (iop == NULL)
return(NULL);
if ((f = &fb[fileno(iop)]) != NULL)
return(f->p);
else
return(NULL);
}
E 1
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.