cctools
elfheader.h
1/*
2Copyright (C) 2022 The University of Notre Dame
3This software is distributed under the GNU General Public License.
4See the file COPYING for details.
5*/
6
7#ifndef ELFHEADER_H
8#define ELFHEADER_H
9
10#include <limits.h>
11
12#ifndef PATH_MAX // Hurd
13#define PATH_MAX 1024
14#endif
15
22int elf_get_interp(int fd, char interp[PATH_MAX]);
23
30int elf_set_interp(int fd, const char *interp);
31
32#endif /* ELFHEADER_H */