(exec_error, fork_error, dup_error,pipe_error): New functions
This commit is contained in:
24
src/misc.c
24
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user