...
Code Block | ||
---|---|---|
| ||
void f() {
char path[PATH_MAX]; /* requires PATH_MAX to be defined */
strcpy(path, getenv("PATH"));
/* use path */
}
|
...
...
Code Block | ||
---|---|---|
| ||
void f() {
char path[PATH_MAX]; /* requires PATH_MAX to be defined */
strcpy(path, getenv("PATH"));
/* use path */
}
|
...