/* * Copyright (C) 2000-2006 Erik Andersen * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include #include #include #include useconds_t ualarm(useconds_t value, useconds_t interval) { struct itimerval otimer; const struct itimerval itimer = { { 0, interval }, { 0, value} }; if (setitimer(ITIMER_REAL, &itimer, &otimer) < 0) { return -1; } return((otimer.it_value.tv_sec * 1000000) + otimer.it_value.tv_usec); } dk.git' href='/cgi/cgit/openadk.git/'>openadk.git
Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-08-19 23:01:52 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-08-19 23:01:52 +0200
commit77a0dbf1ca0ee36e8c3ded335f0c17c57efd7ad0 (patch)
tree3ff2e2a04452da923a0ddce0dff4db8666fb2785 /package/vtun/patches/patch-cfg_file_y
parent7f5f87f3546cd8d25e9462e15f5a6937191b789c (diff)
curl: prefer openssl over libressl
Diffstat (limited to 'package/vtun/patches/patch-cfg_file_y')
0 files changed, 0 insertions, 0 deletions