Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!hp4nl!star.cs.vu.nl!ast@cs.vu.nl From: ast@cs.vu.nl (Andy Tanenbaum) Newsgroups: comp.os.minix Subject: - should be in there Message-ID: <10176@star.cs.vu.nl> Date: 11 Jun 91 10:24:14 GMT Sender: news@cs.vu.nl Organization: Fac. Wiskunde & Informatica, Vrije Universiteit, Amsterdam Lines: 26 echo x - minlib.h sed '/^X/s///' > minlib.h << '/' X#ifndef _MINLIB X#define _MINLIB X X#ifndef _ANSI_H X#include 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 /