Changes in uspace/app/sysinst/futil.c [b7fd2a0:f77c1c9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sysinst/futil.c
rb7fd2a0 rf77c1c9 54 54 * @return EOK on success, EIO on I/O error 55 55 */ 56 errno_t futil_copy_file(const char *srcp, const char *destp)56 int futil_copy_file(const char *srcp, const char *destp) 57 57 { 58 58 int sf, df; 59 59 size_t nr, nw; 60 errno_t rc;60 int rc; 61 61 aoff64_t posr = 0, posw = 0; 62 62 … … 104 104 * @return EOK on success, ENOMEM if out of memory, EIO on I/O error 105 105 */ 106 errno_t futil_rcopy_contents(const char *srcdir, const char *destdir)106 int futil_rcopy_contents(const char *srcdir, const char *destdir) 107 107 { 108 108 DIR *dir; … … 110 110 struct stat s; 111 111 char *srcp, *destp; 112 errno_t rc;112 int rc; 113 113 114 114 dir = opendir(srcdir); … … 158 158 * I/O error, ENOMEM if out of memory 159 159 */ 160 errno_t futil_get_file(const char *srcp, void **rdata, size_t *rsize)160 int futil_get_file(const char *srcp, void **rdata, size_t *rsize) 161 161 { 162 162 int sf; 163 163 size_t nr; 164 errno_t rc;164 int rc; 165 165 size_t fsize; 166 166 char *data;
Note:
See TracChangeset
for help on using the changeset viewer.