home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / dev / misc / hwgrcs / src / rcs.rcsfiles / conf.h.amiga,v < prev    next >
Encoding:
Text File  |  1995-06-25  |  30.3 KB  |  1,336 lines

  1. head    1.26;
  2. access;
  3. symbols
  4.     HWGRCSP12F:1.26
  5.     HWGRCSP11F:1.22
  6.     HWGRCSP10F:1.20
  7.     HWGRCSP9:1.18
  8.     HWGRCSP8F:1.15
  9.     HWGRCSP7F:1.4
  10.     C_15:1.4
  11.     HWGRCSP6F:1.3
  12.     HWGRCSP5F:1.1
  13.     HWGRCSp4:1.1
  14.     HWGRCSp3:1.1
  15.     HWGRCS_Fish:1.1
  16.     HWGRCS:1.1;
  17. locks; strict;
  18. comment    @# @;
  19.  
  20.  
  21. 1.26
  22. date    95.06.24.18.48.53;    author heinz;    state Exp;
  23. branches;
  24. next    1.25;
  25.  
  26. 1.25
  27. date    95.06.24.13.30.13;    author heinz;    state Exp;
  28. branches;
  29. next    1.24;
  30.  
  31. 1.24
  32. date    94.10.11.16.09.45;    author heinz;    state Exp;
  33. branches;
  34. next    1.23;
  35.  
  36. 1.23
  37. date    94.10.11.16.09.41;    author heinz;    state Exp;
  38. branches;
  39. next    1.22;
  40.  
  41. 1.22
  42. date    94.09.02.16.59.23;    author heinz;    state Exp;
  43. branches;
  44. next    1.21;
  45.  
  46. 1.21
  47. date    94.09.02.16.59.19;    author heinz;    state Exp;
  48. branches;
  49. next    1.20;
  50.  
  51. 1.20
  52. date    94.06.19.12.21.15;    author heinz;    state Exp;
  53. branches;
  54. next    1.19;
  55.  
  56. 1.19
  57. date    94.06.19.12.21.10;    author heinz;    state Exp;
  58. branches;
  59. next    1.18;
  60.  
  61. 1.18
  62. date    94.06.01.19.09.52;    author heinz;    state Exp;
  63. branches;
  64. next    1.17;
  65.  
  66. 1.17
  67. date    94.06.01.19.09.47;    author heinz;    state Exp;
  68. branches;
  69. next    1.16;
  70.  
  71. 1.16
  72. date    94.04.23.19.51.04;    author heinz;    state Exp;
  73. branches;
  74. next    1.15;
  75.  
  76. 1.15
  77. date    94.03.14.09.57.32;    author heinz;    state Exp;
  78. branches;
  79. next    1.14;
  80.  
  81. 1.14
  82. date    94.03.14.09.54.32;    author heinz;    state Exp;
  83. branches;
  84. next    1.13;
  85.  
  86. 1.13
  87. date    94.02.20.14.33.13;    author heinz;    state Exp;
  88. branches;
  89. next    1.12;
  90.  
  91. 1.12
  92. date    94.02.14.20.40.58;    author heinz;    state Exp;
  93. branches;
  94. next    1.11;
  95.  
  96. 1.11
  97. date    94.02.14.20.40.53;    author heinz;    state Exp;
  98. branches;
  99. next    1.10;
  100.  
  101. 1.10
  102. date    94.02.14.20.33.39;    author heinz;    state Exp;
  103. branches;
  104. next    1.9;
  105.  
  106. 1.9
  107. date    94.02.14.20.33.15;    author heinz;    state Exp;
  108. branches;
  109. next    1.8;
  110.  
  111. 1.8
  112. date    94.02.14.19.51.50;    author heinz;    state Exp;
  113. branches;
  114. next    1.7;
  115.  
  116. 1.7
  117. date    94.02.14.19.51.19;    author heinz;    state Exp;
  118. branches;
  119. next    1.6;
  120.  
  121. 1.6
  122. date    94.02.14.19.35.40;    author heinz;    state Exp;
  123. branches;
  124. next    1.5;
  125.  
  126. 1.5
  127. date    94.02.13.10.28.52;    author heinz;    state Exp;
  128. branches;
  129. next    1.4;
  130.  
  131. 1.4
  132. date    94.01.19.16.51.30;    author heinz;    state Exp;
  133. branches;
  134. next    1.3;
  135.  
  136. 1.3
  137. date    93.12.04.11.08.27;    author heinz;    state Exp;
  138. branches;
  139. next    1.2;
  140.  
  141. 1.2
  142. date    93.10.17.17.16.26;    author heinz;    state Exp;
  143. branches;
  144. next    1.1;
  145.  
  146. 1.1
  147. date    93.01.18.13.17.59;    author heinz;    state Exp;
  148. branches;
  149. next    ;
  150.  
  151.  
  152. desc
  153. @This is the handcrafted conf.h for the Amiga. The smakefile copies this
  154. automatically to conf.h. So changes are supposed to take place here!
  155. @
  156.  
  157.  
  158. 1.26
  159. log
  160. @date update.
  161. @
  162. text
  163. @/* This file modifed for Amiga and SAS/C 6.1 by HWG 12.jan.93 */
  164.  
  165. /* example RCS compile-time configuration */
  166.  
  167.         /* $Id: conf.h.amiga,v 1.25 1995/06/24 13:30:13 heinz Exp heinz $ */
  168.  
  169. /*
  170.  * This example RCS compile-time configuration describes a host that conforms
  171.  * to Standard C (1990) and Posix 1003.1-1990 and has GNU diff.
  172.  * If you can't get conf.sh to work as described in the Makefile,
  173.  * copy this file to conf.h and edit conf.h by hand; see README.
  174.  */
  175.  
  176. /* First the version stuff for the Amiga! */
  177. #define PRGPREFIX   "HWGRCS_"
  178. #define PRGVERSION  "1"
  179. #define PRGREVISION /*$AmigaREV: */"12"/*   $ */
  180. #define PRGDATE     /*$AmigaDATE: */"24.6.95"/*   $ */
  181. #define PRGVERTEXT  " Changes ©1993-95 HWG, for Joan Thuesen"
  182.  
  183. #define exitmain(n) return n /* how to exit from main() */
  184. /* #define _POSIX_SOURCE */ /* Define this if Posix + strict Standard C.  */
  185.  
  186. #include <errno.h>
  187. #include <stdio.h>
  188. #undef putc
  189. #include <time.h>
  190.  
  191. /* Comment out #include lines below that do not work.  */
  192. #include <sys/types.h>
  193. #include <sys/stat.h>
  194. #include <dirent.h>
  195. #include <fcntl.h>
  196. #include <limits.h>
  197. /* #include <pwd.h> */
  198. #include <signal.h>
  199. #include <stdlib.h>
  200. #include <string.h>
  201. /* #include <sys/mman.h> */
  202. /* #include <sys/wait.h> */
  203. /* #include <unistd.h> */
  204. /* #include <utime.h> */
  205. /* #include <vfork.h> */
  206.  
  207. /* Define the following symbols to be 1 or 0.  */
  208. #define has_sys_dir_h 1 /* Does #include <sys/dir.h> work?  */
  209. #define has_sys_param_h 0 /* Does #include <sys/param.h> work?  */
  210. #define has_readlink 0 /* Does readlink() work?  */
  211.  
  212. /* #undef NAME_MAX */ /* Uncomment this if NAME_MAX is broken.  */
  213.  
  214. #if !defined(NAME_MAX) && !defined(_POSIX_NAME_MAX)
  215. #       if has_sys_dir_h
  216. #               include <sys/dir.h>
  217. #       endif
  218. #       ifndef NAME_MAX
  219. #               ifndef MAXNAMLEN
  220. #                       define MAXNAMLEN 14
  221. #               endif
  222. #               define NAME_MAX MAXNAMLEN
  223. #       endif
  224. #endif
  225. #if !defined(PATH_MAX) && !defined(_POSIX_PATH_MAX)
  226. #       if has_sys_param_h
  227. #               include <sys/param.h>
  228. #               define included_sys_param_h 1
  229. #       endif
  230. #       ifndef PATH_MAX
  231. #               ifndef MAXPATHLEN
  232. #                       define MAXPATHLEN 1024
  233. #               endif
  234. #               define PATH_MAX (MAXPATHLEN-1)
  235. #       endif
  236. #endif
  237. #if has_readlink && !defined(MAXSYMLINKS)
  238. #       if has_sys_param_h && !included_sys_param_h
  239. #               include <sys/param.h>
  240. #       endif
  241. #       ifndef MAXSYMLINKS
  242. #               define MAXSYMLINKS 20 /* BSD; not standard yet */
  243. #       endif
  244. #endif
  245.  
  246. /* Comment out the keyword definitions below if the keywords work.  */
  247. /* #define const */
  248. /* #define volatile */
  249.  
  250. /* Comment out the typedefs below if the types are already declared.  */
  251. /* Fix any uncommented typedefs that are wrong.  */
  252. typedef int mode_t;
  253. /* typedef int pid_t; */
  254. /* typedef int sig_atomic_t; */
  255. /* typedef unsigned size_t; */
  256. typedef size_t ssize_t;
  257. /* typedef long time_t; */
  258. /* typedef int uid_t; */
  259.  
  260. /* Define the following symbols to be 1 or 0.  */
  261. #define has_prototypes 1 /* Do function prototypes work?  */
  262. #define has_stdarg 1 /* Does <stdarg.h> work?  */
  263. #define has_varargs 1 /* Does <varargs.h> work?  */
  264. #define va_start_args 2 /* How many args does va_start() take?  */
  265. #if has_prototypes
  266. #       define P(params) params
  267. #else
  268. #       define P(params) ()
  269. #endif
  270. #if has_stdarg
  271. #       include <stdarg.h>
  272. #else
  273. #       if has_varargs
  274. #               include <varargs.h>
  275. #       else
  276.                 typedef char *va_list;
  277. #               define va_dcl int va_alist;
  278. #               define va_start(ap) ((ap) = (va_list)&va_alist)
  279. #               define va_arg(ap,t) (((t*) ((ap)+=sizeof(t)))  [-1])
  280. #               define va_end(ap)
  281. #       endif
  282. #endif
  283. #if va_start_args == 2
  284. #       define vararg_start va_start
  285. #else
  286. #       define vararg_start(ap,p) va_start(ap)
  287. #endif
  288.  
  289. #define text_equals_binary_stdio 1 /* Does stdio treat text like binary?  */
  290. #define text_work_stdio 0 /* Text i/o for working file, binary for RCS file?  */
  291. #if text_equals_binary_stdio
  292.         /* Text and binary i/o behave the same, or binary i/o does not work.  */
  293. #       define FOPEN_R "r"
  294. #       define FOPEN_W "w"
  295. #       define FOPEN_WPLUS "w+"
  296. #else
  297.         /* Text and binary i/o behave differently.  */
  298.         /* This is incompatible with Posix and Unix.  */
  299. #       define FOPEN_R "rb"
  300. #       define FOPEN_W "wb"
  301. #       define FOPEN_WPLUS "w+b"
  302. #endif
  303. #if text_work_stdio
  304. #       define FOPEN_R_WORK "r"
  305. #       define FOPEN_W_WORK "w"
  306. #       define FOPEN_WPLUS_WORK "w+"
  307. #else
  308. #       define FOPEN_R_WORK FOPEN_R
  309. #       define FOPEN_W_WORK FOPEN_W
  310. #       define FOPEN_WPLUS_WORK FOPEN_WPLUS
  311. #endif
  312.  
  313. /* Define or comment out the following symbols as needed.  */
  314. #define bad_fopen_wplus 0 /* Does fopen(f,FOPEN_WPLUS) fail to truncate f?  */
  315. #define getlogin_is_secure 0 /* Is getlogin() secure?  Usually it's not.  */
  316. #define has_dirent 1 /* Do opendir(), readdir(), closedir() work?  */
  317. #define has_fchmod 0 /* Does fchmod() work?  */
  318. #define has_fputs 1 /* Does fputs() work?  */
  319. #define has_ftruncate 0 /* Does ftruncate() work?  */
  320. #define has_getuid 0 /* Does getuid() work?  */
  321. #define has_getpwuid 0 /* Does getpwuid() work?  */
  322. #define has_link 0 /* Does link() work?  */
  323. #define has_memcmp 1 /* Does memcmp() work?  */
  324. #define has_memcpy 1 /* Does memcpy() work?  */
  325. #define has_memmove 1 /* Does memmove() work?  */
  326. #define has_madvise 0 /* Does madvise() work?  */
  327. #define has_mmap 0 /* Does mmap() work on regular files?  */
  328. #define has_rename 1 /* Does rename() work?  */
  329. #define bad_a_rename 0 /* Does rename(A,B) fail if A is unwritable?  */
  330. #define bad_b_rename 1 /* Does rename(A,B) fail if B is unwritable?  */
  331. #define VOID (void) /* 'VOID e;' discards the value of an expression 'e'.  */
  332. #define has_seteuid 0 /* Does seteuid() work?  See README.  */
  333. #define has_setuid 0 /* Does setuid() exist?  */
  334. #define has_signal 1 /* Does signal() work?  */
  335. #define signal_args P((int)) /* arguments of signal handlers */
  336. #define signal_type void __regargs /* type returned by signal handlers */
  337. #define sig_zaps_handler 1 /* Must a signal handler reinvoke signal()?  */
  338. #define has_sigaction 0 /* Does struct sigaction work?  */
  339. #define has_sigblock 0 /* Does sigblock() work?  */
  340. /* #define sigmask(s) (1 << ((s)-1)) */ /* Yield mask for signal number.  */
  341. #define has_sys_siglist 0 /* Does sys_siglist[] work?  */
  342. typedef ssize_t fread_type; /* type returned by fread() and fwrite() */
  343. typedef size_t freadarg_type; /* type of their size arguments */
  344. typedef void *malloc_type; /* type returned by malloc() */
  345. #define has_getcwd 1 /* Does getcwd() work?  */
  346. #define has_getwd 0 /* Does getwd() work?  */
  347. #define has_mktemp 0 /* Does mktemp() work?  */
  348. #define has_NFS 0 /* Might NFS be used?  */
  349. /* #define strchr index */ /* Use old-fashioned name for strchr()?  */
  350. /* #define strrchr rindex */ /* Use old-fashioned name for strrchr()?  */
  351. #define bad_unlink 0 /* Does unlink() fail on unwritable files?  */
  352. #define has_vfork 0 /* Does vfork() work?  */
  353. #define has_fork 0 /* Does fork() work?  */
  354. #define has_spawn 0 /* Does spawn*() work?  */
  355. #define has_wait 0 /* Does wait() work?  */
  356. #define has_waitpid 0 /* Does waitpid() work?  */
  357. #define RCS_SHELL "" /* shell to run RCS subprograms */
  358. #define has_vfprintf 1 /* Does vfprintf() work?  */
  359. #define has__doprintf 0 /* Does _doprintf() work?  */
  360. #define has__doprnt 0 /* Does _doprnt() work?  */
  361. /* #undef EXIT_FAILURE */ /* Uncomment this if EXIT_FAILURE is broken.  */
  362. #define large_memory 0 /* Can main memory hold entire RCS files?  */
  363. /* #undef ULONG_MAX */ /* Uncomment this if ULONG_MAX is broken (e.g. < 0).  */
  364. struct utimbuf { time_t actime, modtime; }; /* Uncomment this if needed.  */
  365. #define CO "RCS:co" /* name of 'co' program */
  366. #define COMPAT2 0 /* Are version 2 files supported?  */
  367. #define DATEFORM "%.2d.%.2d.%.2d.%.2d.%.2d.%.2d" /* e.g. 01.01.01.01.01.01 */
  368. #define DIFF "RCS:diff" /* name of 'diff' program */
  369. #define DIFF3 "RCS:diff3" /* name of 'diff3' program */
  370. #define DIFF3_A 0 /* Does diff3 have an -A option?  */
  371. #define DIFF3_BIN 1 /* Is diff3 user-visible (not the /usr/lib auxiliary)?  */
  372. #define DIFF_FLAGS , "-an" /* Make diff output suitable for RCS.  */
  373. #define DIFF_L 1 /* Does diff -L work? */
  374. #define DIFF_SUCCESS 0 /* DIFF status if no differences are found */
  375. #define DIFF_FAILURE 1 /* DIFF status if differences are found */
  376. #define DIFF_TROUBLE 2 /* DIFF status if trouble */
  377. #define ED "RCS:ked" /* name of 'ed' program (used only if !DIFF3_BIN) */
  378. #define MERGE "RCS:merge" /* name of 'merge' program */
  379. #define TMPDIR "T:" /* default directory for temporary files */
  380. #define SLASH '/' /* principal pathname separator */
  381. #define SLASHes '/' /* `case SLASHes:' labels all pathname separators */
  382. /* #define isSLASH(c) ((c) == SLASH) */ /* Is arg a pathname separator?  */
  383. #define ROOTPATH(p) (strchr(p, ':') != NULL) /* Is p an absolute pathname?  */
  384. #define X_DEFAULT "/,v" /* default value for -x option */
  385. #define DIFF_ABSOLUTE 1 /* Is ROOTPATH(DIFF) true?  */
  386. #define ALL_ABSOLUTE 0 /* Are all subprograms absolute pathnames?  */
  387. #define SENDMAIL "sendmail -t" /* how to send mail */
  388. #define TZ_must_be_set 1 /* Must TZ be set for gmtime() to work?  */
  389.  
  390.  
  391.  
  392. /* Adjust the following declarations as needed.  */
  393.  
  394.  
  395. #if __GNUC__ && !__STRICT_ANSI__
  396. #       define exiting volatile /* GCC extension: function cannot return */
  397. #else
  398. #       define exiting
  399. #endif
  400.  
  401. #if has_ftruncate
  402.         int ftruncate P((int,off_t));
  403. #endif
  404.  
  405. /* <sys/mman.h> */
  406. #if has_madvise
  407.         int madvise P((caddr_t,size_t,int));
  408. #endif
  409. #if has_mmap
  410.         caddr_t mmap P((caddr_t,size_t,int,int,int,off_t));
  411.         int munmap P((caddr_t,size_t));
  412. #endif
  413.  
  414.  
  415. /* Posix (ISO/IEC 9945-1: 1990 / IEEE Std 1003.1-1990) */
  416. /* These definitions are for the benefit of non-Posix hosts, and */
  417. /* Posix hosts that have Standard C compilers but traditional include files.  */
  418. /* Unfortunately, mixed-up hosts are all too common.  */
  419.  
  420. /* <fcntl.h> */
  421. #ifdef F_DUPFD
  422.         int fcntl P((int,int,...));
  423. #else
  424.         int dup2 P((int,int));
  425. #endif
  426. #ifndef O_BINARY /* some non-Posix hosts need O_BINARY */
  427. #       define O_BINARY 0 /* no effect on Posix */
  428. #endif
  429. #ifdef O_CREAT
  430. #       define open_can_creat 1
  431. #else
  432. #       define open_can_creat 0
  433. #       define O_RDONLY 0
  434. #       define O_WRONLY 1
  435. #       define O_RDWR 2
  436. #       define O_CREAT 01000
  437. #       define O_TRUNC 02000
  438.         int creat P((char const*,mode_t));
  439. #endif
  440. #ifndef O_EXCL
  441. #       define O_EXCL 0
  442. #endif
  443.  
  444. /* <pwd.h> */
  445. #if has_getpwuid
  446.         struct passwd *getpwuid P((uid_t));
  447. #endif
  448.  
  449. /* <signal.h> */
  450. #if has_sigaction
  451.         int sigaction P((int,struct sigaction const*,struct sigaction*));
  452.         int sigaddset P((sigset_t*,int));
  453.         int sigemptyset P((sigset_t*));
  454. #else
  455. #if has_sigblock
  456.         /* BSD */
  457.         int sigblock P((int));
  458.         int sigmask P((int));
  459.         int sigsetmask P((int));
  460. #endif
  461. #endif
  462.  
  463. /* <stdio.h> */
  464. FILE *fdopen P((int,char const*));
  465. int fileno P((FILE*));
  466.  
  467. /* <sys/stat.h> */
  468. int chmod P((char const*,mode_t));
  469. int fstat P((int,struct stat*));
  470. int stat P((char const*,struct stat*));
  471. mode_t umask P((mode_t));
  472. #if has_fchmod
  473.         int fchmod P((int,mode_t));
  474. #endif
  475. #ifndef S_IRUSR
  476. #       ifdef S_IREAD
  477. #               define S_IRUSR S_IREAD
  478. #       else
  479. #               define S_IRUSR 0400
  480. #       endif
  481. #       ifdef S_IWRITE
  482. #               define S_IWUSR S_IWRITE
  483. #       else
  484. #               define S_IWUSR (S_IRUSR/2)
  485. #       endif
  486. #endif
  487. #ifndef S_IRGRP
  488. #       if has_getuid
  489. #               define S_IRGRP (S_IRUSR / 0010)
  490. #               define S_IWGRP (S_IWUSR / 0010)
  491. #               define S_IROTH (S_IRUSR / 0100)
  492. #               define S_IWOTH (S_IWUSR / 0100)
  493. #       else
  494.                 /* single user OS -- not Posix or Unix */
  495. #               define S_IRGRP 0
  496. #               define S_IWGRP 0
  497. #               define S_IROTH 0
  498. #               define S_IWOTH 0
  499. #       endif
  500. #endif
  501. #ifndef S_IDUSR
  502. #       define S_IDUSR S_IDELETE
  503. #       define S_IDGRP 0
  504. #       define S_IDOTH 0
  505. #endif
  506. #ifndef S_ISREG
  507. #       define S_ISREG(n) (((n) & S_IFMT) == S_IFREG)
  508. #endif
  509.  
  510. /* <sys/wait.h> */
  511. #if has_wait
  512.         pid_t wait P((int*));
  513. #endif
  514. #ifndef WEXITSTATUS
  515. #       define WEXITSTATUS(stat_val) ((stat_val) >> 8)
  516. #       undef WIFEXITED /* Avoid 4.3BSD incompatibility with Posix.  */
  517. #endif
  518. #ifndef WIFEXITED
  519. #       define WIFEXITED(stat_val) (!((stat_val) & 255))
  520. #endif
  521.  
  522. /* <unistd.h> */
  523. char *getlogin P((void));
  524. int close P((int));
  525. int isatty P((int));
  526. int link P((char const*,char const*));
  527. int open P((char const*,int,...));
  528. int unlink P((char const*));
  529. /* int _filbuf P((FILE*)); *//* keeps lint quiet in traditional C */
  530. /* int _flsbuf P((int,FILE*)); *//* keeps lint quiet in traditional C */
  531. long pathconf P((char const*,int));
  532. /*ssize_t write P((int,void const*,size_t));*/
  533. #ifndef STDIN_FILENO
  534. #       define STDIN_FILENO 0
  535. #       define STDOUT_FILENO 1
  536. #       define STDERR_FILENO 2
  537. #endif
  538. #if has_fork
  539. #       if !has_vfork
  540. #               undef vfork
  541. #               define vfork fork
  542. #       endif
  543.         pid_t vfork P((void)); /* vfork is nonstandard but faster */
  544. #endif
  545. #if has_getcwd || !has_getwd
  546.         char *getcwd P((char*,int));
  547. #else
  548.         char *getwd P((char*));
  549. #endif
  550. #if has_getuid
  551.         uid_t getuid P((void));
  552. #endif
  553. #if has_readlink
  554.         ssize_t readlink P((char const*,char*,size_t)); /* BSD; not standard yet */
  555. #endif
  556. #if has_setuid
  557. #       if !has_seteuid
  558. #               undef seteuid
  559. #               define seteuid setuid
  560. #       endif
  561.         int seteuid P((uid_t));
  562.         uid_t geteuid P((void));
  563. #endif
  564. #if has_spawn
  565.         int spawnv P((int,char const*,char*const*));
  566. #       if ALL_ABSOLUTE
  567. #               define spawn_RCS spawnv
  568. #       else
  569. #               define spawn_RCS spawnvp
  570.                 int spawnvp P((int,char const*,char*const*));
  571. #       endif
  572. #else
  573.         int execv P((char const*,char*const*));
  574. #       if ALL_ABSOLUTE
  575. #               define exec_RCS execv
  576. #       else
  577. #               define exec_RCS execvp
  578.                 int execvp P((char const*,char*const*));
  579. #       endif
  580. #endif
  581.  
  582. /* utime.h */
  583. int utime P((char const*,struct utimbuf const*));
  584.  
  585.  
  586. /* Standard C library */
  587. /* These definitions are for the benefit of hosts that have */
  588. /* traditional C include files, possibly with Standard C compilers.  */
  589. /* Unfortunately, mixed-up hosts are all too common.  */
  590.  
  591. /* <errno.h> */
  592. extern int errno;
  593.  
  594. /* <limits.h> */
  595. #ifndef ULONG_MAX
  596.         /* This does not work in #ifs, but it's good enough for us.  */
  597. #       define ULONG_MAX ((unsigned long)-1)
  598. #endif
  599.  
  600. /* <signal.h> */
  601. #if has_signal
  602.         signal_type (*signal P((int,signal_type(*)signal_args)))signal_args;
  603. #endif
  604.  
  605. /* <stdio.h> */
  606. FILE *fopen P((char const*,char const*));
  607. fread_type fread P((void*,freadarg_type,freadarg_type,FILE*));
  608. fread_type fwrite P((void const*,freadarg_type,freadarg_type,FILE*));
  609. int fclose P((FILE*));
  610. int feof P((FILE*));
  611. int ferror P((FILE*));
  612. int fflush P((FILE*));
  613. int fprintf P((FILE*,char const*,...));
  614. int fputs P((char const*,FILE*));
  615. int fseek P((FILE*,long,int));
  616. int printf P((char const*,...));
  617. int rename P((char const*,char const*));
  618. int sprintf P((char*,char const*,...));
  619. long ftell P((FILE*));
  620. void clearerr P((FILE*));
  621. void perror P((char const*));
  622. #ifndef L_tmpnam
  623. #       define L_tmpnam 32 /* power of 2 > sizeof("/usr/tmp/xxxxxxxxxxxxxxx") */
  624. #endif
  625. #ifndef SEEK_SET
  626. #       define SEEK_SET 0
  627. #endif
  628. #if has_mktemp
  629.         char *mktemp P((char*)); /* traditional */
  630. #else
  631.         char *tmpnam P((char*));
  632. #endif
  633. #if has_vfprintf
  634.         int vfprintf P((FILE*,char const*,va_list));
  635. #else
  636. #if has__doprintf
  637.         void _doprintf P((FILE*,char const*,va_list)); /* Minix */
  638. #else
  639.         void _doprnt P((char const*,va_list,FILE*)); /* BSD */
  640. #endif
  641. #endif
  642.  
  643. /* <stdlib.h> */
  644. char *getenv P((char const*));
  645. exiting void _exit P((int));
  646. exiting void exit P((int));
  647. malloc_type malloc P((size_t));
  648. malloc_type realloc P((malloc_type,size_t));
  649. void free P((malloc_type));
  650. #ifndef EXIT_FAILURE
  651. #       define EXIT_FAILURE 1
  652. #endif
  653. #ifndef EXIT_SUCCESS
  654. #       define EXIT_SUCCESS 0
  655. #endif
  656. #if !has_fork && !has_spawn
  657.         int system P((char const*));
  658. #endif
  659.  
  660. /* <string.h> */
  661. char *strcpy P((char*,char const*));
  662. char *strchr P((char const*,int));
  663. char *strrchr P((char const*,int));
  664. int memcmp P((void const*,void const*,size_t));
  665. int strcmp P((char const*,char const*));
  666. size_t strlen P((char const*));
  667. void *memcpy P((void*,void const*,size_t));
  668. #if has_memmove
  669.         void *memmove P((void*,void const*,size_t));
  670. #endif
  671.  
  672. /* <time.h> */
  673. time_t time P((time_t*));
  674. @
  675.  
  676.  
  677. 1.25
  678. log
  679. @Updated (C) comment.
  680. @
  681. text
  682. @d5 1
  683. a5 1
  684.         /* $Id: conf.h.amiga,v 1.24 1994/10/11 16:09:45 heinz Exp heinz $ */
  685. d17 2
  686. a18 2
  687. #define PRGREVISION /*$AmigaREV: */"12"/*  $ */
  688. #define PRGDATE     /*$AmigaDATE: */"11.10.94"/*  $ */
  689. @
  690.  
  691.  
  692. 1.24
  693. log
  694. @Amiga_BUMPREV_End
  695. @
  696. text
  697. @d5 1
  698. a5 1
  699.         /* $Id: conf.h.amiga,v 1.23 1994/10/11 16:09:41 heinz Exp heinz $ */
  700. d17 3
  701. a19 3
  702. #define PRGREVISION /*$AmigaREV: */"12"/* $ */
  703. #define PRGDATE     /*$AmigaDATE: */"11.10.94"/* $ */
  704. #define PRGVERTEXT  " Changes ©1993,1994 HWG, for Joan Thuesen"
  705. @
  706.  
  707.  
  708. 1.23
  709. log
  710. @Amiga_BUMPREV_Start
  711. @
  712. text
  713. @d5 1
  714. a5 1
  715.         /* $Id: conf.h.amiga,v 1.22 1994/09/02 16:59:23 heinz Exp heinz $ */
  716. d17 2
  717. a18 2
  718. #define PRGREVISION /*$AmigaREV: */"11"/*  $ */
  719. #define PRGDATE     /*$AmigaDATE: */"02.09.94"/*  $ */
  720. @
  721.  
  722.  
  723. 1.22
  724. log
  725. @Amiga_BUMPREV_End
  726. @
  727. text
  728. @d5 1
  729. a5 1
  730.         /* $Id: conf.h.amiga,v 1.21 1994/09/02 16:59:19 heinz Exp heinz $ */
  731. d17 2
  732. a18 2
  733. #define PRGREVISION /*$AmigaREV: */"11"/* $ */
  734. #define PRGDATE     /*$AmigaDATE: */"02.09.94"/* $ */
  735. @
  736.  
  737.  
  738. 1.21
  739. log
  740. @Amiga_BUMPREV_Start
  741. @
  742. text
  743. @d5 1
  744. a5 1
  745.         /* $Id: conf.h.amiga,v 1.20 1994/06/19 12:21:15 heinz Exp heinz $ */
  746. d17 2
  747. a18 2
  748. #define PRGREVISION /*$AmigaREV: */"10"/*  $ */
  749. #define PRGDATE     /*$AmigaDATE: */"19.06.94"/*  $ */
  750. @
  751.  
  752.  
  753. 1.20
  754. log
  755. @Amiga_BUMPREV_End
  756. @
  757. text
  758. @d5 1
  759. a5 1
  760.         /* $Id: conf.h.amiga,v 1.19 1994/06/19 12:21:10 heinz Exp heinz $ */
  761. d17 2
  762. a18 2
  763. #define PRGREVISION /*$AmigaREV: */"10"/* $ */
  764. #define PRGDATE     /*$AmigaDATE: */"19.06.94"/* $ */
  765. @
  766.  
  767.  
  768. 1.19
  769. log
  770. @Amiga_BUMPREV_Start
  771. @
  772. text
  773. @d5 1
  774. a5 1
  775.         /* $Id: conf.h.amiga,v 1.18 1994/06/01 19:09:52 heinz Exp heinz $ */
  776. d17 2
  777. a18 2
  778. #define PRGREVISION /*$AmigaREV: */"9"/*  $ */
  779. #define PRGDATE     /*$AmigaDATE: */"01.06.94"/*  $ */
  780. @
  781.  
  782.  
  783. 1.18
  784. log
  785. @Amiga_BUMPREV_End
  786. @
  787. text
  788. @d5 1
  789. a5 1
  790.         /* $Id: conf.h.amiga,v 1.17 1994/06/01 19:09:47 heinz Exp heinz $ */
  791. d17 2
  792. a18 2
  793. #define PRGREVISION /*$AmigaREV: */"9"/* $ */
  794. #define PRGDATE     /*$AmigaDATE: */"01.06.94"/* $ */
  795. @
  796.  
  797.  
  798. 1.17
  799. log
  800. @Amiga_BUMPREV_Start
  801. @
  802. text
  803. @d5 1
  804. a5 1
  805.         /* $Id: conf.h.amiga,v 1.16 1994/04/23 19:51:04 heinz Exp heinz $ */
  806. d17 2
  807. a18 2
  808. #define PRGREVISION /*$AmigaREV: */"8"/*      $ */
  809. #define PRGDATE     /*$AmigaDATE: */"14.03.94"/*      $ */
  810. @
  811.  
  812.  
  813. 1.16
  814. log
  815. @delete bit is now handled more relaxed.
  816. @
  817. text
  818. @d5 1
  819. a5 1
  820.         /* $Id: conf.h.amiga,v 1.15 1994/03/14 09:57:32 heinz Exp heinz $ */
  821. d17 2
  822. a18 2
  823. #define PRGREVISION /*$AmigaREV: */"8"/*     $ */
  824. #define PRGDATE     /*$AmigaDATE: */"14.03.94"/*     $ */
  825. @
  826.  
  827.  
  828. 1.15
  829. log
  830. @Test checkin to check for a possible bug I've just noticed.
  831. @
  832. text
  833. @d5 1
  834. a5 1
  835.         /* $Id: conf.h.amiga,v 1.14 1994/03/14 09:54:32 heinz Exp heinz $ */
  836. d17 2
  837. a18 2
  838. #define PRGREVISION /*$AmigaREV: */"8"/*    $ */
  839. #define PRGDATE     /*$AmigaDATE: */"14.03.94"/*    $ */
  840. d189 1
  841. a189 1
  842. #define bad_unlink 1 /* Does unlink() fail on unwritable files?  */
  843. d320 1
  844. a320 1
  845. #               define S_IWUSR (S_IWRITE|S_IDELETE)
  846. d338 5
  847. @
  848.  
  849.  
  850. 1.14
  851. log
  852. @Enabled sys/dir.h.
  853. @
  854. text
  855. @d5 1
  856. a5 1
  857.         /* $Id: conf.h.amiga,v 1.13 1994/02/20 14:33:13 heinz Exp heinz $ */
  858. d17 2
  859. a18 2
  860. #define PRGREVISION /*$AmigaREV: */"8"/*   $ */
  861. #define PRGDATE     /*$AmigaDATE: */"14.03.94"/*   $ */
  862. @
  863.  
  864.  
  865. 1.13
  866. log
  867. @Incorrect prototype for getcwd fixed.
  868. @
  869. text
  870. @d5 1
  871. a5 1
  872.         /* $Id: conf.h.amiga,v 1.12 1994/02/14 20:40:58 heinz Exp heinz $ */
  873. d17 2
  874. a18 2
  875. #define PRGREVISION /*$AmigaREV: */"8"/*  $ */
  876. #define PRGDATE     /*$AmigaDATE: */"14.02.94"/*  $ */
  877. d46 1
  878. a46 1
  879. #define has_sys_dir_h 0 /* Does #include <sys/dir.h> work?  */
  880. @
  881.  
  882.  
  883. 1.12
  884. log
  885. @Amiga_BUMPREV_End
  886. @
  887. text
  888. @d5 1
  889. a5 1
  890.         /* $Id: conf.h.amiga,v 1.11 1994/02/14 20:40:53 heinz Exp heinz $ */
  891. d17 2
  892. a18 2
  893. #define PRGREVISION /*$AmigaREV: */"8"/* $ */
  894. #define PRGDATE     /*$AmigaDATE: */"14.02.94"/* $ */
  895. d379 1
  896. a379 1
  897.         char *getcwd P((const char*,int));
  898. @
  899.  
  900.  
  901. 1.11
  902. log
  903. @Amiga_BUMPREV_Start
  904. @
  905. text
  906. @d5 1
  907. a5 1
  908.         /* $Id: conf.h.amiga,v 1.10 1994/02/14 20:33:39 heinz Exp heinz $ */
  909. d17 2
  910. a18 2
  911. #define PRGREVISION /*$AmigaREV: */"7"/*   $ */
  912. #define PRGDATE     /*$AmigaDATE: */"14.02.94"/*   $ */
  913. @
  914.  
  915.  
  916. 1.10
  917. log
  918. @Amiga_BUMPREV_Start
  919. @
  920. text
  921. @d5 1
  922. a5 1
  923.         /* $Id: conf.h.amiga,v 1.9 1994/02/14 20:33:15 heinz Exp heinz $ */
  924. d17 2
  925. a18 2
  926. #define PRGREVISION /*$AmigaREV: */"7"/*  $ */
  927. #define PRGDATE     /*$AmigaDATE: */"14.02.94"/*  $ */
  928. @
  929.  
  930.  
  931. 1.9
  932. log
  933. @Patch no back to 7 for testing.
  934. @
  935. text
  936. @d5 1
  937. a5 1
  938.         /* $Id: conf.h.amiga,v 1.8 1994/02/14 19:51:50 heinz Exp heinz $ */
  939. d17 2
  940. a18 2
  941. #define PRGREVISION /*$AmigaREV: */"7"/* $ */
  942. #define PRGDATE     /*$AmigaDATE: */"14.02.94"/* $ */
  943. @
  944.  
  945.  
  946. 1.8
  947. log
  948. @Amiga_BUMPREV_Start
  949. @
  950. text
  951. @d5 1
  952. a5 1
  953.         /* $Id: conf.h.amiga,v 1.7 1994/02/14 19:51:19 heinz Exp heinz $ */
  954. d17 1
  955. a17 1
  956. #define PRGREVISION /*$AmigaREV: */"8"/* $ */
  957. @
  958.  
  959.  
  960. 1.7
  961. log
  962. @Patch no back to 7 for testing.
  963. @
  964. text
  965. @d5 1
  966. a5 1
  967.         /* $Id: conf.h.amiga,v 1.6 1994/02/14 19:35:40 heinz Exp heinz $ */
  968. d17 1
  969. a17 1
  970. #define PRGREVISION /*$AmigaREV: */"7"/* $ */
  971. @
  972.  
  973.  
  974. 1.6
  975. log
  976. @Reduced the patch revision back to 7 to test the bumprev feature in the
  977. smakefile. I might have to do this several times to get it right.
  978. @
  979. text
  980. @d5 1
  981. a5 1
  982.         /* $Id: conf.h.amiga,v 1.5 1994/02/13 10:28:52 heinz Exp heinz $ */
  983. @
  984.  
  985.  
  986. 1.5
  987. log
  988. @BUMPREV
  989. @
  990. text
  991. @d5 1
  992. a5 1
  993.         /* $Id: conf.h.amiga,v 1.4 1994/01/19 16:51:30 heinz Exp heinz $ */
  994. d18 1
  995. a18 1
  996. #define PRGDATE     /*$AmigaDATE: */"13.02.94"/* $ */
  997. @
  998.  
  999.  
  1000. 1.4
  1001. log
  1002. @"Cosmetic" changes to ROOTPATH. The colon is now hardcoded and SLASHes is
  1003. back to the original '/'. Path handling needs to be cleaned up.
  1004. @
  1005. text
  1006. @d5 1
  1007. a5 1
  1008.         /* $Id: conf.h.amiga,v 1.3 1993/12/04 11:08:27 heinz Exp heinz $ */
  1009. d14 6
  1010. @
  1011.  
  1012.  
  1013. 1.3
  1014. log
  1015. @Added DIFF3_A stuff of RCS-5.6.0.1
  1016. @
  1017. text
  1018. @d5 1
  1019. a5 1
  1020.         /* $Id: conf.h.amiga,v 1.2 1993/10/17 17:16:26 heinz Exp heinz $ */
  1021. d213 3
  1022. a215 3
  1023. #define SLASHes ':' /* `case SLASHes:' labels all pathname separators */
  1024. /*#define isSLASH(c) ((c) == SLASH || (c) == SLASHes)*/ /* Is arg a pathname separator?  */
  1025. #define ROOTPATH(p) (strchr(p, SLASHes) != NULL) /* Is p an absolute pathname?  */
  1026. @
  1027.  
  1028.  
  1029. 1.2
  1030. log
  1031. @Default -x is now /,v for POSIX compatibility. getcwd() prototype
  1032. is corrected, too.
  1033. @
  1034. text
  1035. @d5 1
  1036. a5 1
  1037.         /* $Id: conf.h.amiga,v 1.1 1993/01/18 13:17:59 heinz Exp heinz $ */
  1038. d202 1
  1039. a372 3
  1040. #ifdef AMIGA
  1041.         char *getcwd P((char*,int));
  1042. #else
  1043. a373 1
  1044. #endif
  1045. @
  1046.  
  1047.  
  1048. 1.1
  1049. log
  1050. @Initial revision
  1051. @
  1052. text
  1053. @d5 1
  1054. a5 1
  1055.     /* $Id: conf.heg,v 1.8 1991/11/20 18:21:09 eggert Exp $ */
  1056. d41 1
  1057. a41 1
  1058. #define has_sys_param_h 0 /* Does #include <sys/param.h> work?    */
  1059. d44 1
  1060. a44 1
  1061. /* #undef NAME_MAX */ /* Uncomment this if NAME_MAX is broken.    */
  1062. d47 9
  1063. a55 9
  1064. #    if has_sys_dir_h
  1065. #        include <sys/dir.h>
  1066. #    endif
  1067. #    ifndef NAME_MAX
  1068. #        ifndef MAXNAMLEN
  1069. #            define MAXNAMLEN 14
  1070. #        endif
  1071. #        define NAME_MAX MAXNAMLEN
  1072. #    endif
  1073. d58 10
  1074. a67 10
  1075. #    if has_sys_param_h
  1076. #        include <sys/param.h>
  1077. #        define included_sys_param_h 1
  1078. #    endif
  1079. #    ifndef PATH_MAX
  1080. #        ifndef MAXPATHLEN
  1081. #            define MAXPATHLEN 1024
  1082. #        endif
  1083. #        define PATH_MAX (MAXPATHLEN-1)
  1084. #    endif
  1085. d70 6
  1086. a75 6
  1087. #    if has_sys_param_h && !included_sys_param_h
  1088. #        include <sys/param.h>
  1089. #    endif
  1090. #    ifndef MAXSYMLINKS
  1091. #        define MAXSYMLINKS 20 /* BSD; not standard yet */
  1092. #    endif
  1093. d98 1
  1094. a98 1
  1095. #    define P(params) params
  1096. d100 1
  1097. a100 1
  1098. #    define P(params) ()
  1099. d103 1
  1100. a103 1
  1101. #    include <stdarg.h>
  1102. d105 9
  1103. a113 9
  1104. #    if has_varargs
  1105. #        include <varargs.h>
  1106. #    else
  1107.         typedef char *va_list;
  1108. #        define va_dcl int va_alist;
  1109. #        define va_start(ap) ((ap) = (va_list)&va_alist)
  1110. #        define va_arg(ap,t) (((t*) ((ap)+=sizeof(t)))  [-1])
  1111. #        define va_end(ap)
  1112. #    endif
  1113. d116 1
  1114. a116 1
  1115. #    define vararg_start va_start
  1116. d118 1
  1117. a118 1
  1118. #    define vararg_start(ap,p) va_start(ap)
  1119. d124 10
  1120. a133 10
  1121.     /* Text and binary i/o behave the same, or binary i/o does not work.  */
  1122. #    define FOPEN_R "r"
  1123. #    define FOPEN_W "w"
  1124. #    define FOPEN_WPLUS "w+"
  1125. #else
  1126.     /* Text and binary i/o behave differently.  */
  1127.     /* This is incompatible with Posix and Unix.  */
  1128. #    define FOPEN_R "rb"
  1129. #    define FOPEN_W "wb"
  1130. #    define FOPEN_WPLUS "w+b"
  1131. d136 7
  1132. a142 7
  1133. #    define FOPEN_R_WORK "r"
  1134. #    define FOPEN_W_WORK "w"
  1135. #    define FOPEN_WPLUS_WORK "w+"
  1136. #else
  1137. #    define FOPEN_R_WORK FOPEN_R
  1138. #    define FOPEN_W_WORK FOPEN_W
  1139. #    define FOPEN_WPLUS_WORK FOPEN_WPLUS
  1140. d170 1
  1141. a170 1
  1142. #define has_sigaction 0 /* Does struct sigaction work?    */
  1143. d193 1
  1144. a193 1
  1145. /* #undef EXIT_FAILURE */ /* Uncomment this if EXIT_FAILURE is broken.    */
  1146. d215 1
  1147. a215 1
  1148. #define X_DEFAULT ",v/" /* default value for -x option */
  1149. d227 1
  1150. a227 1
  1151. #    define exiting volatile /* GCC extension: function cannot return */
  1152. d229 1
  1153. a229 1
  1154. #    define exiting
  1155. d233 1
  1156. a233 1
  1157.     int ftruncate P((int,off_t));
  1158. d238 1
  1159. a238 1
  1160.     int madvise P((caddr_t,size_t,int));
  1161. d241 2
  1162. a242 2
  1163.     caddr_t mmap P((caddr_t,size_t,int,int,int,off_t));
  1164.     int munmap P((caddr_t,size_t));
  1165. d253 1
  1166. a253 1
  1167.     int fcntl P((int,int,...));
  1168. d255 1
  1169. a255 1
  1170.     int dup2 P((int,int));
  1171. d258 1
  1172. a258 1
  1173. #    define O_BINARY 0 /* no effect on Posix */
  1174. d261 1
  1175. a261 1
  1176. #    define open_can_creat 1
  1177. d263 7
  1178. a269 7
  1179. #    define open_can_creat 0
  1180. #    define O_RDONLY 0
  1181. #    define O_WRONLY 1
  1182. #    define O_RDWR 2
  1183. #    define O_CREAT 01000
  1184. #    define O_TRUNC 02000
  1185.     int creat P((char const*,mode_t));
  1186. d272 1
  1187. a272 1
  1188. #    define O_EXCL 0
  1189. d277 1
  1190. a277 1
  1191.     struct passwd *getpwuid P((uid_t));
  1192. d282 3
  1193. a284 3
  1194.     int sigaction P((int,struct sigaction const*,struct sigaction*));
  1195.     int sigaddset P((sigset_t*,int));
  1196.     int sigemptyset P((sigset_t*));
  1197. d287 4
  1198. a290 4
  1199.     /* BSD */
  1200.     int sigblock P((int));
  1201.     int sigmask P((int));
  1202.     int sigsetmask P((int));
  1203. d304 1
  1204. a304 1
  1205.     int fchmod P((int,mode_t));
  1206. d307 10
  1207. a316 10
  1208. #    ifdef S_IREAD
  1209. #        define S_IRUSR S_IREAD
  1210. #    else
  1211. #        define S_IRUSR 0400
  1212. #    endif
  1213. #    ifdef S_IWRITE
  1214. #        define S_IWUSR (S_IWRITE|S_IDELETE)
  1215. #    else
  1216. #        define S_IWUSR (S_IRUSR/2)
  1217. #    endif
  1218. d319 12
  1219. a330 12
  1220. #    if has_getuid
  1221. #        define S_IRGRP (S_IRUSR / 0010)
  1222. #        define S_IWGRP (S_IWUSR / 0010)
  1223. #        define S_IROTH (S_IRUSR / 0100)
  1224. #        define S_IWOTH (S_IWUSR / 0100)
  1225. #    else
  1226.         /* single user OS -- not Posix or Unix */
  1227. #        define S_IRGRP 0
  1228. #        define S_IWGRP 0
  1229. #        define S_IROTH 0
  1230. #        define S_IWOTH 0
  1231. #    endif
  1232. d333 1
  1233. a333 1
  1234. #    define S_ISREG(n) (((n) & S_IFMT) == S_IFREG)
  1235. d338 1
  1236. a338 1
  1237.     pid_t wait P((int*));
  1238. d341 2
  1239. a342 2
  1240. #    define WEXITSTATUS(stat_val) ((stat_val) >> 8)
  1241. #    undef WIFEXITED /* Avoid 4.3BSD incompatibility with Posix.  */
  1242. d345 1
  1243. a345 1
  1244. #    define WIFEXITED(stat_val) (!((stat_val) & 255))
  1245. d360 3
  1246. a362 3
  1247. #    define STDIN_FILENO 0
  1248. #    define STDOUT_FILENO 1
  1249. #    define STDERR_FILENO 2
  1250. d365 5
  1251. a369 5
  1252. #    if !has_vfork
  1253. #        undef vfork
  1254. #        define vfork fork
  1255. #    endif
  1256.     pid_t vfork P((void)); /* vfork is nonstandard but faster */
  1257. d372 2
  1258. a373 1
  1259.     char *getcwd P((const char*,int));
  1260. d375 1
  1261. a375 1
  1262.     char *getwd P((char*));
  1263. d377 3
  1264. d381 1
  1265. a381 1
  1266.     uid_t getuid P((void));
  1267. d384 1
  1268. a384 1
  1269.     ssize_t readlink P((char const*,char*,size_t)); /* BSD; not standard yet */
  1270. d387 6
  1271. a392 6
  1272. #    if !has_seteuid
  1273. #        undef seteuid
  1274. #        define seteuid setuid
  1275. #    endif
  1276.     int seteuid P((uid_t));
  1277.     uid_t geteuid P((void));
  1278. d395 15
  1279. a409 15
  1280.     int spawnv P((int,char const*,char*const*));
  1281. #    if ALL_ABSOLUTE
  1282. #        define spawn_RCS spawnv
  1283. #    else
  1284. #        define spawn_RCS spawnvp
  1285.         int spawnvp P((int,char const*,char*const*));
  1286. #    endif
  1287. #else
  1288.     int execv P((char const*,char*const*));
  1289. #    if ALL_ABSOLUTE
  1290. #        define exec_RCS execv
  1291. #    else
  1292. #        define exec_RCS execvp
  1293.         int execvp P((char const*,char*const*));
  1294. #    endif
  1295. d426 2
  1296. a427 2
  1297.     /* This does not work in #ifs, but it's good enough for us.  */
  1298. #    define ULONG_MAX ((unsigned long)-1)
  1299. d432 1
  1300. a432 1
  1301.     signal_type (*signal P((int,signal_type(*)signal_args)))signal_args;
  1302. d453 1
  1303. a453 1
  1304. #    define L_tmpnam 32 /* power of 2 > sizeof("/usr/tmp/xxxxxxxxxxxxxxx") */
  1305. d456 1
  1306. a456 1
  1307. #    define SEEK_SET 0
  1308. d459 1
  1309. a459 1
  1310.     char *mktemp P((char*)); /* traditional */
  1311. d461 1
  1312. a461 1
  1313.     char *tmpnam P((char*));
  1314. d464 1
  1315. a464 1
  1316.     int vfprintf P((FILE*,char const*,va_list));
  1317. d467 1
  1318. a467 1
  1319.     void _doprintf P((FILE*,char const*,va_list)); /* Minix */
  1320. d469 1
  1321. a469 1
  1322.     void _doprnt P((char const*,va_list,FILE*)); /* BSD */
  1323. d481 1
  1324. a481 1
  1325. #    define EXIT_FAILURE 1
  1326. d484 1
  1327. a484 1
  1328. #    define EXIT_SUCCESS 0
  1329. d487 1
  1330. a487 1
  1331.     int system P((char const*));
  1332. d499 1
  1333. a499 1
  1334.     void *memmove P((void*,void const*,size_t));
  1335. @
  1336.