]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - exec.c
Add documentation for para_select() and mark_fd_nonblock()
[paraslash.git] / exec.c
diff --git a/exec.c b/exec.c
index 1a302c16bf07dba2e8ae51cc706980487950bf88..b8f2df57f8c3c5768bb586aa34a5427decd29eae 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -154,16 +154,3 @@ int para_exec_cmdline_pid(pid_t *pid, const char *cmdline, int *fds)
        return ret;
 }
 
-/**
- * check whether a file exists
- *
- * \param fn the file name
- *
- * \return Non-zero iff file exists.
- */
-int file_exists(const char *fn)
-{
-       struct stat statbuf;
-
-       return !stat(fn, &statbuf);
-}