Date: Tue, 12 Jun 2007 22:55:18 -0700 From: Garrett Cooper <youshi10@u.washington.edu> To: hackers@freebsd.org Subject: Using shell commands versus C equivalents Message-ID: <466F86C6.7010006@u.washington.edu>
next in thread | raw e-mail | index | archive | help
Another simple question (I hope):
Is there any reason why shell commands should be used in place of a
C command (in this case chmod via vsystem instead of the chmod(2)
function)? It seems like the fork / exec would be more expensive with
the shell command, but any area where code could be optimized is more
than welcome I would think.
Thanks,
-Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?466F86C6.7010006>
