Definition in file cwd.c.
Go to the source code of this file.
Compounds | |
struct | pathlist_node |
Defines | |
#define | SAME_INODE(s1, s2) |
Functions | |
bool | push_pathlist (struct pathlist_node **head, const char *name) |
void | free_pathlist (struct pathlist_node **head) |
char * | get_pathlist (struct pathlist_node *head) |
char * | getcwdx (void) |
int | main (void) |
|
Value: ((s1).st_dev == (s2).st_dev &&\ (s1).st_ino == (s2).st_ino) Definition at line 77 of file cwd.c. Referenced by getcwdx(). |
|
Definition at line 45 of file cwd.c. References pathlist_node::c_next, and head. |
|
Definition at line 56 of file cwd.c. References pathlist_node::c_name, pathlist_node::c_next, EC_CLEANUP_BGN, EC_CLEANUP_END, ec_null, and head. |
|
Definition at line 80 of file cwd.c. References chdir(), close(), closedir(), EC_CLEANUP, EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, ec_false, ec_neg1, ec_null, errno, fchdir(), free_pathlist(), get_pathlist(), head, lstat(), open(), opendir(), push_pathlist(), readdir(), and SAME_INODE. Referenced by main(). |
|
Definition at line 133 of file cwd.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_false, ec_null, exit(), free_pathlist(), get_pathlist(), getcwdx(), head, and push_pathlist(). |
|
Definition at line 30 of file cwd.c. References pathlist_node::c_name, pathlist_node::c_next, EC_CLEANUP_BGN, EC_CLEANUP_END, ec_null, and head. |