BarryServer : Git

All the code for all my projects
// BarryServer : Git / OrionUserland / blob / b44ba6f8f0145991ffd9e7b8ccb96ad9f9dc8040 / pwd / main.c

// Related

OrionUserland

Barry Importing existing Orion Userland 19aefaa (2 years, 4 months ago)
#include <stdio.h>
#include <unistd.h>
#include <sys/limits.h>

/* Main function */
int
main(int argc, char *argv[])
{
	char cwd[PATH_MAX];
	getcwd(cwd, PATH_MAX);
	printf("%s\n", cwd);

	return 0;
}