mailing list of musl libc
 help / color / mirror / code / Atom feed
54b5e3a4e1082f633b777688ef2d6fa63929881f blob 605 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 
#ifndef _SYS_TIMERFD_H
#define _SYS_TIMERFD_H

#ifdef __cplusplus
extern "C" {
#endif

#include <time.h>
#include <fcntl.h>

#define TFD_NONBLOCK O_NONBLOCK
#define TFD_CLOEXEC O_CLOEXEC

#define TFD_TIMER_ABSTIME 1
#define TFD_TIMER_CANCEL_ON_SET (1 << 1)

struct itimerspec;

int timerfd_create(int, int);
int timerfd_settime(int, int, const struct itimerspec *, struct itimerspec *);
int timerfd_gettime(int, struct itimerspec *);

#if _REDIR_TIME64
int timerfd_settime() __asm__("__timerfd_settime64");
int timerfd_gettime() __asm__("__timerfd_gettime64");
#endif

#ifdef __cplusplus
}
#endif

#endif
debug log:

solving 54b5e3a4 ...
found 54b5e3a4 in https://inbox.vuxu.org/musl/20190802214433.GA25193@brightrain.aerifal.cx/
found 2794d36a in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 2794d36a6c2b2b37e8f7f2d4f28c02e85223de06	include/sys/timerfd.h

applying [1/1] https://inbox.vuxu.org/musl/20190802214433.GA25193@brightrain.aerifal.cx/
diff --git a/include/sys/timerfd.h b/include/sys/timerfd.h
index 2794d36a..54b5e3a4 100644

Checking patch include/sys/timerfd.h...
Applied patch include/sys/timerfd.h cleanly.

index at:
100644 54b5e3a4e1082f633b777688ef2d6fa63929881f	include/sys/timerfd.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).