Jim Meyering wrote: > That should be ok, assuming no modern version of gcc > warns about the unused value, in spite of the "(void)" cast.
Yes, this is the case, because close() is not marked as __wur in glibc's <unistd.h>. Bruno
Jim Meyering wrote: > That should be ok, assuming no modern version of gcc > warns about the unused value, in spite of the "(void)" cast.
Yes, this is the case, because close() is not marked as __wur in glibc's <unistd.h>. Bruno