#include <unistd.h>
main(int argc, char *argv[]) {
if(argv[0]) exec(argv[0], NULL);
else puts("argv[0] is null.");
}

とかでいいんでね?