home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: wolf@grasp1.univ-lyon1.fr (Christophe Wolfhugel)
-
- The function getcwd() is in most cases a passive function, except
- in one (and perhaps others): SunOS 4.1.1.
-
- This system, as indicated in the man pages clearly states that
- getcwd simply makes a system("pwd") to get the result.
-
- I have encountered a problem with signals and this stuff: on SunOS,
- getcwd() generates a SIGCHLD, not on other signals. This is highly
- distrurbing applications already having a SIGCHLD handler. I arrived
- in a dead loop: the SunOS "getcwd" wait call got over mine, thus
- causing my SIGCHLD reaper to block definitely on the wait
- (there were other childs active waiting for data).
-
- Maybe it would be worth to add description about how the signals should
- behave when calling standardized functions. I checked the draft against
- any particular information on this, but it does not specify that
- getcwd() should not alter signals.
-
- --
- Christophe Wolfhugel / Email: Christophe.Wolfhugel@univ-lyon1.fr
-
-
- Volume-Number: Volume 28, Number 9
-
-