www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/13/18:21:03

Date: Thu, 13 Feb 1997 18:09:27 -0500
Message-Id: <199702132309.SAA08852@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: Jerzy DOT Witkowski AT ii DOT uni DOT wroc DOT pl
CC: djgpp AT delorie DOT com
In-reply-to: <x6sp30g2bx.fsf@swiatowit.ii.uni.wroc.pl>
(Jerzy DOT Witkowski AT ii DOT uni DOT wroc DOT pl)
Subject: Re: Missing declarations in `sys/stat.h'

> link, S_IFLNK).  Below is a brief list of missing symbols.  I
> think that at least some of them should be defined in DJGPP, just
> for compatibility reasons.
> 
> _ST_FSTYPSZ S_IAMB S_IFNAM S_INSEM S_INSHD S_IFLNK S_IFSOCK
> S_IFDOOR S_ISVTX S_IREAD S_IWRITE S_IEXEC S_ENFMT S_ISLNK S_ISSOCK
> S_ISDOOR S_TYPEISMQ S_TYPEISSEM S_TYPEISSHM

Many programs use #ifdef of these to detect if the operating system
supports them.  MS-DOS does not support those (some that you list
*are* in djgpp).  If we define them, the programs will act as if
MS-DOS supported them, and they will break.

If you find a symbol that ANSI or POSIX requires, and djgpp does not
have it, I'll fix it.  Other than that, I'd rather leave them out if
they're not dos-able.

- Raw text -


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