xref: /linux/tools/lib/perf/include/internal/lib.h (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LIBPERF_INTERNAL_LIB_H
3 #define __LIBPERF_INTERNAL_LIB_H
4 
5 #include <sys/types.h>
6 
7 extern unsigned int page_size;
8 
9 ssize_t readn(int fd, void *buf, size_t n);
10 ssize_t writen(int fd, const void *buf, size_t n);
11 
12 #endif /* __LIBPERF_INTERNAL_CPUMAP_H */
13