view previous-work/more_control_helpers/lib/ldconfig.c @ 7:ab4011ea1463

using C wrapper instead of perl wrapper.
author Robert McIntyre <rlm@mit.edu>
date Tue, 08 Jan 2013 18:10:15 +0000
parents d6bef198ae71
children
line wrap: on
line source
1 #include <unistd.h>
3 int main()
4 {
5 char* const argv[] = {"/sbin/ldconfig", "-v", NULL, NULL};
6 char* const env[] = {NULL, NULL};
7 return execve(argv[0], argv, env);
8 }