File: arb_file.h

package info (click to toggle)
arb 6.0.6-8
  • links: PTS, VCS
  • area: non-free
  • in suites: sid, trixie
  • size: 66,204 kB
  • sloc: ansic: 394,911; cpp: 250,290; makefile: 19,644; sh: 15,879; perl: 10,473; fortran: 6,019; ruby: 683; xml: 503; python: 53; awk: 32
file content (43 lines) | stat: -rw-r--r-- 1,312 bytes parent folder | download | duplicates (6)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* This file is generated by aisc_mkpt.
 * Any changes you make here will be overwritten later!
 */

#ifndef ARB_FILE_H
#define ARB_FILE_H

/* define ARB attributes: */
#ifndef ATTRIBUTES_H
# include <attributes.h>
#endif


/* arb_file.cxx */

#ifndef ARB_CORE_H
#include "arb_core.h"
#endif

long GB_size_of_file(const char *path);
long GB_size_of_FILE(FILE *in);
unsigned long GB_time_of_file(const char *path);
GB_ERROR GB_set_time_of_file(const char *path, unsigned long new_time);
long GB_mode_of_file(const char *path);
long GB_mode_of_link(const char *path);
bool GB_is_regularfile(const char *path);
bool GB_is_link(const char *path);
bool GB_is_executablefile(const char *path);
bool GB_is_privatefile(const char *path, bool read_private);
bool GB_is_writeablefile(const char *filename);
bool GB_is_readablefile(const char *filename);
bool GB_is_directory(const char *path);
long GB_getuid_of_file(const char *path);
int GB_unlink(const char *path);
void GB_unlink_or_warn(const char *path, GB_ERROR *error);
GB_ERROR GB_symlink(const char *target, const char *link);
GB_ERROR GB_set_mode_of_file(const char *path, long mode);
char *GB_follow_unix_link(const char *path);
GB_ERROR GB_rename_file(const char *oldpath, const char *newpath);

#else
#error arb_file.h included twice
#endif /* ARB_FILE_H */