9base

revived minimalist port of Plan 9 userland to Unix
git clone git://git.suckless.org/9base
Log | Files | Refs | README | LICENSE

getwd.c (106B)


      1 #include <u.h>
      2 #include <libc.h>
      3 
      4 #undef getwd
      5 
      6 char*
      7 p9getwd(char *s, int ns)
      8 {
      9 	return getcwd(s, ns);
     10 }