*BSD News Article 67471


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!news.cais.net!newsfeed.internetmci.com!swrinde!howland.reston.ans.net!Germany.EU.net!Hanover.Germany.EU.net!Hamburg.Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J Wunsch)
Newsgroups: comp.unix.misc,comp.unix.bsd.misc
Subject: Re: How to delete files within C programs
Date: 2 May 1996 14:01:52 GMT
Organization: interface business GmbH Dresden
Lines: 31
Message-ID: <4maf8g$6u7@innocence.interface-business.de>
References: <Oum-El-Kheir.Benkahla-3004961724540001@mac-ugm-3.imag.fr>
  <4m5p3k$3nq@dfw-ixnews2.ix.netcom.com> <4m7sr3$rf9@news.rhrz.uni-bonn.de>
  <4m8csc$3jg@innocence.interface-business.de> <DqquoL.5z5@kithrup.com>
  <4m8vn4$3f8@news.rhrz.uni-bonn.de>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.6
Xref: euryale.cc.adfa.oz.au comp.unix.misc:22350 comp.unix.bsd.misc:891

juengst@saph1.physik.uni-bonn.de (Henry G. Juengst) writes:

>And POSIX is not ANSI and vice versa. There is no "standard C".

You are wrong.  There is ``The Standard C'':  ANSI C.  (Later accepted
as ``ISO C''.  I think both are 99 % identical.)

Like all standards, it has its drawbacks, and you cannot do everything
with plain standard C.  But it's always a good idea to hide system
dependencies in separate modules, and keep everything as close to the
standard as useful.

If you don't accept the Unix philosophy, why are you reading these
groups???

Of course, Pascal (for example) is much simpler to learn, but it's far
less powerful.  It's been designed as a language for teaching and
learning purposes (and for this, it's very well-designed).  Unfortun-
ately, you cannot do anything useful with plain standard Pascal, since
even the semantics for passing file names from the environment to the
program are implementation-dependant.  (Don't tell me about Turbo
Pascal, it's simply yet another incompatible dialect.)  C has been
designed to allow for the implementation of an operating system.  It
does this job very well, and to the best of my knowledge, a large
number of operating system have been written in C by now (not only
Unix).

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j