Path: utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!i2unix!ctr!nicb From: nicb@ctr@italy.eu.net (Nicola Bernardini) Newsgroups: comp.sources.d Subject: remove() and Unix (was Re: problems building abc) Message-ID: <1991Jan08.140043.12986@ctr@italy.eu.net> Date: 8 Jan 91 14:00:43 GMT References: <1991Jan01.211524.18484@kithrup.COM> <53567@eerie.acsu.Buffalo.EDU> Reply-To: nicb@ctr.UUCP (Nicola Bernardini) Organization: Centro Tempo Reale, Firenze Lines: 29 In article <53567@eerie.acsu.Buffalo.EDU> pjg@acsu.buffalo.edu (Paul Graham) writes: >sef@kithrup.COM (Sean Eric Fagan) writes: >[about remove(S) and having your own function with a libc name] >|This is an example of "Name Space Pollution." Both ANSI and POSIX have >|addressed this, and have come up with a list of functions and variables that >|are not to be touched by application programmers. remove() is in both of >|them. > >my os is supposed to posix compliant and i don't have remove(S). in >fact i've never seen remove(S). what section is 'S' and what >version(s) of unix have remove(S)? Well, at least SCO System V 3.2.2 has remove(S). (S is the program development kit, I think). You can find the macro defined in /usr/include/stdio.h. ------------------------------------------ Nicola Bernardini - nicb%ctr@italy.eu.net Centro Tempo Reale Villa Strozzi Via Pisana, 77 50143 Firenze I T A L I A Tel. ++3955/702444 Fax. ++3955/717712 -- ------------------------------------------ Nicola Bernardini - nicb%ctr@italy.eu.net Centro Tempo Reale Villa Strozzi