TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: david nugent
from: Geoff C Marshall
date: 1993-11-14 22:57:42
subject: Re: Deleting a file

-=> Quoting david nugent to Brendon Meyer <=-

 dn> Yes. It is a standard C library function.
                  ^^^^^^^^
 Once upon a time the only thing that was standard about standard libraries
                 
 was there name.  You mean the ISO standard, I presume.  Not EVERY standard
 standard (not a typo) library will have them.

 dn> Most compilers do. However, take a look at your UNIX libraries again -
 dn> if they are ISO compliant (and you'll probably find that the SVR4 one
 dn> at least is), remove() will be there too. 

 Most compiler/libraries actually use a macro to change remove to unlink.
 Unlink is PROBABLY the most common (as a function).  Anyway for the sake
 of portability, I would suggest that the use of unlink is better, and to 
 create a macro to turn it into remove when unlink does not exist.  Anyway
 that is what I do.  It is of course possible to do it the other way around
 and always use remove and macro it to unlink when remove does not exist.

 Due to my 'vintage', I prefer the former.

 Count.



... All those who believe in telekinesis. Raise my hand...
--- FMail 0.96â+

* Origin: The Gate, Melbourne Australia, +613-574-9688 (3:633/159)
SEEN-BY: 50/99 54/54 99 620/243 622/405 623/630 632/348 998 633/104 151 156
SEEN-BY: 633/159 252 366 371 373 374 379 634/383 384 635/210 502 503 544 570
SEEN-BY: 636/100 670/206 711/401 409 430 807 808 809 932 934 712/623 627
SEEN-BY: 713/888 714/906 800/1
@PATH: 633/159 104 371 635/503 50/99 54/54 99 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.