GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GETWD(3) FreeBSD Library Functions Manual GETWD(3)

getwd - get current directory

#include <u.h>
 
#include <libc.h>
char* getwd(char *buf, int size)

Getwd fills buf with a null-terminated string representing the current directory and returns buf.
Getwd places no more than size bytes in the buffer provided.

/src/lib9/getwd.c

pwd(1)

On error, zero is returned. Errstr(3) may be consulted for more information.

To avoid name conflicts with the underlying system, getwd is a preprocessor macro defined as p9getwd; see intro(3).

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.