summaryrefslogtreecommitdiff
path: root/include/util.h
blob: 16f3162bc8c2d4443674c2bc17604b0c0a5c0a80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-3.0-or-later */
#ifndef UTIL_H
#define UTIL_H

#include <sys/types.h>

int canonicalize_name(char *filename);

ssize_t write_retry(int fd, void *data, size_t size);

ssize_t read_retry(int fd, void *buffer, size_t size);

#endif /* UTIL_H */