Przeglądaj źródła

(exec_error, fork_error, dup_error,pipe_error): New functions

Sergey Poznyakoff 20 lat temu
rodzic
commit
75a16f75a9
1 zmienionych plików z 24 dodań i 0 usunięć
  1. 24 0
      src/misc.c

+ 24 - 0
src/misc.c

@@ -659,6 +659,30 @@ mknod_error (char const *name)
   call_arg_error ("mknod", name);
 }
 
+void
+exec_error (char const *name)
+{
+  call_arg_error ("exec", name);
+}
+
+void
+fork_error (char const *name)
+{
+  call_arg_error ("fork", name);
+}
+
+void
+dup2_error (char const *name)
+{
+  call_arg_error ("dup2", name);
+}
+
+void
+pipe_error (char const *name)
+{
+  call_arg_error ("pipe", name);
+}
+
 void
 open_error (char const *name)
 {