system(3) && open file descriptors
Matthias Apitz
guru at unixarea.de
Tue Apr 29 19:51:05 UTC 2014
Hi,
It seems that the proc started by the C library call system(3), as
/bin/sh -c string
owns the same set of open file descriptors as its calling proc. Is this
somewhere documented as a feature? 'man system" does not say anything
about, while 'man fork' does.
Thx
matthias
--
Sent from my FreeBSD netbook
Matthias Apitz, <guru at unixarea.de>, http://www.unixarea.de/ f: +49-170-4527211
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
More information about the freebsd-questions
mailing list