|
cppthread 1.1.16
C++ Thread Library
|
Check whether the vDSO is used on this computer. More...
#include <cppthread/thread.h>#include <libexcept/file_inheritance.h>#include <iostream>#include <string.h>#include <snapdev/poison.h>
Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
| void | usage (char *progname) |
This tool is expected to be used in your scripts to know whether a given process may fail because it is off time wise (i.e. the process uses the time(2) function which can be off by up to 1 second).
You can simply use it in an if statement like so:
Definition in file has_vdso.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 80 of file has_vdso.cpp.
| void usage | ( | char * | progname | ) |
Definition at line 70 of file has_vdso.cpp.
This document is part of the Snap! Websites Project.
Copyright by Made to Order Software Corp.