[comp.os.minix] <minix/minlib.h> - should be in there

ast@cs.vu.nl (Andy Tanenbaum) (06/11/91)

echo x - minlib.h
sed '/^X/s///' > minlib.h << '/'
X#ifndef _MINLIB
X#define _MINLIB
X
X#ifndef _ANSI_H
X#include <ansi.h>
X#endif
X
X/* Miscellaneous BSD. */
X_PROTOTYPE(void swab, (char *from, char *to, int count));
X_PROTOTYPE(char *crypt, (char *pw, char *salt));
X_PROTOTYPE(char *itoa, (int n));
X_PROTOTYPE(char *getpass, (const char *prompt));
X
X/* Miscellaneous MINIX. */
X_PROTOTYPE(void std_err, (char *s));
X_PROTOTYPE(void prints, (const char *s, ...));
X_PROTOTYPE(int fsversion, (char *dev, char *prog));
X_PROTOTYPE(int load_mtab, (char *prog_name));
X_PROTOTYPE(int rewrite_mtab, (char *prog_name));
X_PROTOTYPE(int get_mtab_entry, (char *, char *, char *, char *));
X_PROTOTYPE(int put_mtab_entry, (char *, char *, char *, char *));
X
X#endif
/