Leonardo Chiquitto Filho wrote: > I've made some tests with execve() and system() > and now some questions stay open here. I think > you can help me. > I wrote a more friendly interface to useradd. > The problem is, I call 'useradd user' with execve() > and then getpwname(user). Calling anything after execve() is pointless; execve() never returns. system() involves fork/exec*/wait[pid] (plus some signal handling). -- Glynn Clements <glynn.clementsat_private>
This archive was generated by hypermail 2b30 : Sun Jun 24 2001 - 17:37:43 PDT