summaryrefslogblamecommitdiffstats
path: root/include/at.h
blob: 17c70d1eda85039905ff13493d97c12899539e74 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                        
              










                                                                             
/*
 * wrappers for "at" functions.
 *
 * Copyright (C) 2010 Karel Zak <kzak@redhat.com>
 *
 * This file may be redistributed under the terms of the
 * GNU Lesser General Public License.
 */
#ifndef UTIL_LINUX_AT_H
#define UTIL_LINUX_AT_H

#include <stdio.h>
#include "c.h"

extern int fstat_at(int dir, const char *dirname,
			const char *filename, struct stat *st, int nofollow);

extern int open_at(int dir, const char *dirname,
			const char *filename, int flags);

extern FILE *fopen_at(int dir, const char *dirname, const char *filename,
			int flags, const char *mode);

#endif /* UTIL_LINUX_AT_H */