repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'fixes/2.45.1/2.42' into maint-2.42
[alt-git.git]
/
copy.h
blob
2af77cba8649b322151fa1b410e6a9522690cde9
1
#ifndef COPY_H
2
#define COPY_H
3
4
#define COPY_READ_ERROR (-2)
5
#define COPY_WRITE_ERROR (-3)
6
int
copy_fd
(
int
ifd
,
int
ofd
);
7
int
copy_file
(
const char
*
dst
,
const char
*
src
,
int
mode
);
8
int
copy_file_with_time
(
const char
*
dst
,
const char
*
src
,
int
mode
);
9
10
#endif
/* COPY_H */