Newer
Older
ubixos / sys / kernel / execve.c
@Christopher W. Olsen Christopher W. Olsen on 2 Jan 2018 285 bytes Sync
#include <lib/kprintf.h>
#include <sys/thread.h>
#include <sys/include/sys/sysproto.h>

int sys_execve( struct thread *td, struct sys_execve_args *args ) {
  int ret = sys_exec( td, args->fname, args->argv, args->envp );
  kprintf("RETURNING: [%i]\n", ret);
  return (ret);
}