Code: Select all
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
char new[] ="getppid";
FILE * fp = fopen("vlc", "rb+");
if(fp == NULL)
{
fprintf(stderr,"Cant open file vlc.(It must be named vlc.)\n");
exit(EXIT_FAILURE);
}
fseek(fp,1571,SEEK_SET);
fwrite(new,1,7,fp);
fclose(fp);
return 0;
}
Return to “VLC media player for Linux and friends Troubleshooting”
Users browsing this forum: No registered users and 5 guests