List of routines safe to use in signals?

Heiko Blume src at scuzzy.in-berlin.de
Tue Dec 18 12:44:29 AEST 1990


brnstnd at kramden.acf.nyu.edu (Dan Bernstein) writes:
>> The definition and purpose of a
>> specification in computer programming is that it tells you, as a programmer,
>> what YOU need to do and what the FUNCTION guarantees to do when you call it.

>Exactly. Like close() is guaranteed to return either 0 or -1 with EBADF
>or EINTR. Whether the file is local or over NFS, close() *guarantees*
>not to return anything else.

yeah!

close(2):

[ENOLINK]   Fildes is on a remote machine and the link to that machine
            is no longer active. (system V Release 3.2).

sounds adequate for NFS, but is for RFS as far as i know.
-- 
      Heiko Blume <-+-> src at scuzzy.in-berlin.de <-+-> (+49 30) 691 88 93
                    public source archive [HST V.42bis]:
        scuzzy Any ACU,f 38400 6919520 gin:--gin: nuucp sword: nuucp
                     uucp scuzzy!/src/README /your/home



More information about the Comp.unix.programmer mailing list