bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why does close_stdout close stdout and stderr?


From: Bernhard Voelker
Subject: Re: Why does close_stdout close stdout and stderr?
Date: Thu, 9 May 2019 11:49:24 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 5/9/19 8:39 AM, Florian Weimer wrote:
> There can also be multiple such handlers.  So it's not true that an
> atexit handler always runs last.

If a program is complex enough to have several atexit handlers
... then 'man atexit' applies:

  "Functions so registered are called in the reverse order
   of their registration [...]"

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]