delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/02/09/11:18:44

From: Dave Mason <dmason AT plg DOT uwaterloo DOT ca>
To: turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu, support AT qdeck DOT com, pcrowley AT qdeck DOT com
Subject: Revising syserr.c
Date: Wed, 9 Feb 1994 10:26:59 -0500

If you do it as:
	static char undef[] = "undefined";
	char *sys_errlist[] = {
	
	/* lots of entries omitted */
	
	  "no more files",
	  "invalid argument",
	  undef,			/* at least by errno.h */
	  "exec format error"
	};
then the only cost would be 180*4 bytes for the pointers, which
doesn't seem at all unreasonable.

../Dave

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019