The chdir()
function. For more info, use man chdir
.
More Related Contents:
- Getting the absolute path of the executable, using C#?
- Creating a new directory in C
- How do you get a directory listing in C?
- Is a Linux executable “compatible” with OS X?
- scan a directory to find files in c
- How to read all files in a folder using C
- free() not working correctly with struct
- Why does the indexing start with zero in ‘C’?
- Program doesn’t wait for user input with scanf(“%c”,&yn);
- Where in memory are my variables stored in C?
- Stringification of a macro value
- Is using flexible array members in C bad practice?
- How do you compare structs for equality in C?
- Directory.GetFiles of certain extension
- Conversion specifier of long double in C
- Is it OK to call pthread_exit from main?
- How to print variable addresses in C?
- How can I scan strings with spaces in them using scanf()? [duplicate]
- strstr not functioning
- Why is the fgets function deprecated?
- Why does printf() not print anything before sleep()?
- Reading from file using fgets
- printf() with no arguments in C compiles fine. how?
- How to create a typedef for function pointers
- Minimizing the amount of malloc() calls improves performance?
- In C, what is the difference between `&function` and `function` when passed as arguments?
- Bind error while recreating socket
- multiple threads able to get flock at the same time
- How to know if a Linux system call is restartable or not?
- Unsigned to signed conversion in C