aboutsummaryrefslogtreecommitdiff
path: root/include/util.h
blob: b1a98c0a90487ae2c9008b970fcee531368f17fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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);

void print_version(void);

#endif /* UTIL_H */