Changeset b510d52 in mainline for uspace/app/bdsh/cmds/modules/rm/rm.c
- Timestamp:
- 2008-08-25T05:38:01Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e2ea8d7e
- Parents:
- 74965d2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/rm/rm.c
r74965d2 rb510d52 58 58 }; 59 59 60 unsigned int rm_start(rm_job_t *rm)60 static unsigned int rm_start(rm_job_t *rm) 61 61 { 62 62 rm->recursive = 0; … … 86 86 } 87 87 88 void rm_end(rm_job_t *rm)88 static void rm_end(rm_job_t *rm) 89 89 { 90 90 if (NULL != rm->nwd) … … 100 100 } 101 101 102 unsigned int rm_recursive(const char *path)102 static unsigned int rm_recursive(const char *path) 103 103 { 104 104 int rc; … … 115 115 } 116 116 117 unsigned int rm_single(const char *path)117 static unsigned int rm_single(const char *path) 118 118 { 119 119 if (unlink(path)) { … … 124 124 } 125 125 126 unsigned int rm_scope(const char *path)126 static unsigned int rm_scope(const char *path) 127 127 { 128 128 int fd;
Note:
See TracChangeset
for help on using the changeset viewer.