getcwd
======
:title: Shellcode Compiler Runtime

---------------------------------------------
char* getcwd(char* buf, size_t size);
---------------------------------------------

Gets the current working directory and places it into `buf`, with maximum length `size`.  Returns a
pointer to `buf`.

See also
--------
link:chdir.html[chdir]
