This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| #include <string.h> | |
| #define PATH_MAX 80 | |
| int main(int argc, char* argv[]) { | |
| char ppath[80]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #define READ_LINK "/home/jikk/readLink" | |
| int main(int argc, char* argv[]) { | |
| FILE *fpipe; | |
| char command[256]; | |
| snprintf("%s %s %s", command, READ_LINK, argv[1], argv[2]); | |