annotate previous-work/more_control_helpers/lib/ldconfig.c @ 6:941970bc92e3

create skeleton generating code.
author Robert McIntyre <rlm@mit.edu>
date Tue, 08 Jan 2013 16:03:31 +0000
parents d6bef198ae71
children
rev   line source
rlm@1 1 #include <unistd.h>
rlm@1 2
rlm@1 3 int main()
rlm@1 4 {
rlm@1 5 char* const argv[] = {"/sbin/ldconfig", "-v", NULL, NULL};
rlm@1 6 char* const env[] = {NULL, NULL};
rlm@1 7 return execve(argv[0], argv, env);
rlm@1 8 }