Document: WG14 N1416


errno at thread create


Submitter: Fred J. Tydeman (USA)
Submission Date: 2009-10-27
Subject: errno at thread create

N1401 7.6 <fenv.h>, paragraph 2, has:

The floating-point environment has thread storage duration. The initial state for a thread's floating-point environment is the current state of the floating-point environment of the thread that creates it at the time of creation.

Should there be similar words about errno?

Add to 7.5 Errors <errno.h>

errno has thread storage duration. The initial state for a thread's errno is the current value of errno of the thread that creates it at the time of creation. [or is it zero?]