www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/05/31/13:31:27

To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: is sys/stat.h right?
Date: Tue, 31 May 1994 10:06:09 PDT
From: "Marty Leisner" <leisner AT sdsp DOT mc DOT xerox DOT com>

stat.h has things like:
#define S_IFFIFO 0x1000 /* FIFO special */
#define S_IFIFO 0x1000 /* FIFO special */
#define S_ISFIFO(x)     (((x) & S_IFMT) == S_IFFIFO)

Code often does:

#ifdef S_ISFIFO
/* fifo stuff
#endif

Is there a way to support S_ISFIFO on dos?  If not, it 
shouldn't be in the file...


marty
Member of the League of Programming Freedom
leisner AT sdsp DOT mc DOT xerox DOT com  leisner AT eso DOT mc DOT xerox DOT com



- Raw text -


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