Subject: Re: ftruncate & truncate prototypes &
To: Mike Long <mike.long@analog.com>
From: David Brownlee <D.K.Brownlee@city.ac.uk>
List: tech-userlevel
Date: 04/19/1995 22:26:02
On Wed, 19 Apr 1995, Mike Long wrote:

> >From: David Brownlee <D.K.Brownlee@city.ac.uk>
> >
> >	Might it be a good idea to have all the 'legacy' stuff in
> >	include files inside 'ifdef's.
> >
> >	So the default behaviour is to get the legacy stuff, but if you
> >	-DSTRICT_INCLUDES then _all_ include files will only show up what
> >	POSIX (Plus BSD extensions) say they should...
> 
> That's what _POSIX_SOURCE is for, yes?
> 
> If people want strictly conforming software, then they can do things
> like:
> 
> make "CFLAGS=-D_POSIX_SOURCE -Wall -ansi -pedantic"
> 
	I specifically didn't mention _POSIX_SOURCE :)

	I think the need is for something _more_ than just posix - hence
	the BSD extensions :)

	(I remember the last time I tried to compile something under strict
	posix under SCO... "Wait a minute.. Where the Hell is everything?!!"

		David

  D.K.Brownlee@city.ac.uk (MIME)    (+44) 171 477 8186    abs@Monochrome 
         (>=-=<)   Network Analyst  {post,host}master  (>=-=<)
 Computing Services, City University, Northampton Square, London EC1V 0HB.
      .-------------------------------------------------------------.
     / Monochrome - biggest UK internet BBS - telnet mono.city.ac.uk \
     `---------------------------------------------------------------'