This is sfprint.c in view mode; [Download] [Up]
#include "../H/sfheader.h" #include "../H/ugens.h" #include <stdio.h> #include <sys/file.h> #include <sys/types.h> #include <sys/stat.h> static SFCODE ampcode = { SF_MAXAMP, sizeof(SFMAXAMP) + sizeof(SFCODE) }; extern SFHEADER sfdesc[NFILES]; sfprint(p,n_args) float *p; { int fno; char date[26]; fno = p[0]; fprintf(stderr,"Header info for file number %d\n",fno); printsf(&sfdesc[fno]); }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.