File: fileutil.h

package info (click to toggle)
swath 0.3.0.cvs20030404
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,564 kB
  • ctags: 545
  • sloc: sh: 6,926; cpp: 3,643; makefile: 151
file content (25 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * fileutil.h - declarations of portable directory/file utility functions
 * Created: 11 Jul 1996
 * Author:  Theppitak Karoonboonyanan
 */

#ifndef FILEUTIL_INC
#define FILEUTIL_INC

// #ifdef __cplusplus
// extern "C" {
// #endif /* __cplusplus */

/* inherit all stdio utilities, such as remove(), rename(), etc. */
#include <stdio.h>

int copyfile(const char* from, const char* to);
int movefile(const char* from, const char* to);

// #ifdef __cplusplus
// }
// #endif /* __cplusplus */

#endif  // FILEUTIL_INC