File:  [gforth] / gforth / Attic / strsignal.c
Revision 1.1: download - view: text, annotated - select for diffs
Mon Oct 16 18:33:12 1995 UTC (28 years, 6 months ago) by anton
Branches: MAIN
CVS tags: HEAD
added answords.fs and strsignal.c
added checking of documenetation of ANS Forth words
Fixed many documentation errors and added some documentation
signal handling now uses strsignal and can handle signals not present on all machines

#include <stdio.h>

char *strsignal(int sig)
{
  /* !! use sys_siglist; how do I find out how many sigs there are? */
  static char errbuf[50];
  sprintf(errbuf,"siganl %d",sig);
  return errbuf;
}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>