rpm  5.2.1
About: RPM is a powerful and mature command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating Unix software packages ("no longer Linux-centric"). Hint: The RPM homepage may offer newer releases (but in rpm format).
  Fossies Dox: rpm-5.2.1.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

getcwd.c File Reference
#include <sys/param.h>
#include <errno.h>
Include dependency graph for getcwd.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define MAXPATHLEN   1024


char * getwd ()
char * getcwd (char *buf, int len)


int errno

Macro Definition Documentation


#define MAXPATHLEN   1024

Definition at line 32 of file getcwd.c.

Function Documentation

◆ getcwd()

char* getcwd ( char *  buf,
int  len 

Definition at line 36 of file getcwd.c.

References buf, ERANGE, errno, getwd(), len, MAXPATHLEN, strcpy, and strlen().

◆ getwd()

char* getwd ( )

Referenced by getcwd(), and realpath().

Variable Documentation

◆ errno

int errno

Definition at line 57 of file k_standard.c.

Referenced by getcwd().