X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=exec.c;h=85dbaf9474aa286add74cd761f09d30dc74ad805;hp=db05c0227f0ce91953e42be6eb562aeb2a33af1e;hb=0c7c4d80673854527ce3c3786dd581169565b5e6;hpb=ffb2eaa90429f6d5c3d369509efcdf91c5463dad diff --git a/exec.c b/exec.c index db05c022..85dbaf94 100644 --- a/exec.c +++ b/exec.c @@ -1,16 +1,10 @@ -/* - * Copyright (C) 2003-2010 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2003 Andre Noll , see file COPYING. */ /** \file exec.c Helper functions for spawning new processes. */ #include -#include #include "para.h" -#include "close_on_fork.h" #include "error.h" #include "fd.h" #include "string.h" @@ -119,7 +113,7 @@ err_out: * Exec the given command. * * \param pid Will hold the pid of the created process upon return. - * \param cmdline Holds the command and its arguments, seperated by spaces. + * \param cmdline Holds the command and its arguments, separated by spaces. * \param fds A pointer to a value-result array. * * This function uses fork/exec to create a new process. \a fds must be a @@ -132,7 +126,7 @@ err_out: * - fd[i] > 0: create a pipe and dup i to one end of that pipe. * Upon return, fd[i] contains the file descriptor of the pipe. * - * In any case, all unneeded filedescriptors are closed. + * In any case, all unneeded file descriptors are closed. * * \return Standard. */