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