Arnaud Rebillout a977d93805
examples: various fixes in ephiperfifo.c
The main change here is the timer value that was wrong, it was given in
usecs (ms * 1000), while the itimerspec struct wants nsecs (ms * 1000 *
1000). This resulted in the callback being invoked WAY TOO OFTEN.

As a quick check you can run this command before and after applying this
commit:

    # shell 1
    ./ephiperfifo 2>&1 | tee ephiperfifo.log
    # shell 2
    echo http://hacking.elboulangero.com > hiper.fifo

Then just compare the size of the logs files.

Closes #3633
Fixes #3632
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2019-03-01 21:38:04 +01:00
..
2018-03-12 00:34:33 +01:00
2018-12-03 23:13:40 +01:00
2017-12-06 00:12:48 +01:00
FAQ
2019-02-28 09:09:51 +01:00
2018-11-01 10:29:53 +01:00
2018-11-09 17:46:05 +01:00
2018-09-23 22:24:02 +00:00
2018-11-01 10:29:53 +01:00
2018-06-03 12:14:45 +00:00
2019-02-20 08:20:27 +01:00
2018-10-01 07:54:58 +02:00
2018-10-12 21:04:37 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2017-12-04 09:15:39 +01:00
2019-02-06 07:57:12 +01:00
2019-01-09 11:08:47 +01:00
2018-09-23 22:24:02 +00:00

curl logo

Documentation

You'll find a mix of various documentation in this directory and subdirectories, using several different formats. Some of them are not ideal for reading directly in your browser.

If you'd rather see the rendered version of the documentation, check out the curl web site's documentation section for general curl stuff or the libcurl section for libcurl related documentation.