File: files.h

package info (click to toggle)
epic4 1%3A3.0-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,756 kB
  • sloc: ansic: 56,285; makefile: 631; sh: 161; perl: 30
file content (30 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (10)
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
/*
 * files.h -- header file for files.c
 * Direct file manipulation for irc?  Unheard of!
 *
 * Copyright 1995 Jeremy Nelson
 * Copyright 1997 EPIC Software Labs
 * See the COPYRIGHT file for copyright information
 */

#ifndef __files_h__
#define __files_h__

	int	open_file_for_read 	(const char *);
	int	open_file_for_write 	(const char *, const char *);
	int *	open_exec_for_in_out_err(const char *, char * const *);
	int	target_file_write	(const char *, const char *);
	int	file_write 		(int, int, const char *);
	int	file_writeb 		(int, int, char *);
	char *	file_read 		(int);
	char *	file_readb 		(int, int);
	int	file_eof 		(int);
	int	file_close 		(int);
	int	file_valid		(int);
	int	file_rewind		(int);
	int	file_error		(int);
	int	file_seek		(int, long, const char *);
	int	file_tell		(int);
	int	file_skip		(int, int);

#endif