This website requires JavaScript.
Explore
Help
Register
Sign In
emo
/
procps
Watch
1
Star
0
Fork
0
You've already forked procps
Code
Issues
Pull Requests
Packages
Releases
Activity
73b4f1134f
procps
/
lib
/
.gitignore
9 lines
96 B
Plaintext
Raw
Normal View
History
Unescape
Escape
build-sys: use dist-xz Even as conservative project as coreutils has switched to xz distributions so neither should we have any reason to use gz and waste space & bandwidth. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-01-09 02:39:50 +05:30
.dirstamp
A locale-independent strtod There is a need in some utilities to have a way of accepting both types of decimal points "." and ",". The only way seems to be to rebuild strtod(). This new function will accept "123.456" and "123,456" as 123.456 and considers them the same number. It means we lose thousands separator, but this is rarely used. test scripts are added to check the function returns the proper values. There was simpler predecessor that got stuck on negative 0 or -0.123 which these tests flushed out. References:
2016-03-03 15:54:08 +05:30
*.trs
lib: add fileutils file with stream error checking facility The close_stream() is copied from GNU lib. Inspiration to do this is talk by Jim Meyering - Goodbye World! The perils of relying on output streams in C. Reference: http://www.irill.org/events/ghm-gnu-hackers-meeting/videos/jim-meyering-goodbye-world-the-perils-of-relying-on-output-streams-in-c Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-03-23 15:40:04 +05:30
test_fileutils
misc: Add test_nsutils to gitignore
2020-12-17 16:13:10 +05:30
test_nsutils
Create test process For the test suite, procps used to use sleep which would just create a process or two to test the tools against. Some setups coreutils creates all programs including sleep into one blob which means a lot of the tests fail, see issue #2 procps has its own sleep program now.
2015-06-13 10:34:31 +05:30
test_process
testsuite: Add check for shared memory Created a test process test_shm that allocates a shared memory segment and prints the segment ID. pmap testsuite runs pmap to check that the segment is found. The value returned by shmget() is the same value that is printed in the fifth column /proc/<PID>/maps Signed-off-by: Craig Small <csmall@dropbear.xyz>
2022-04-26 17:34:05 +05:30
test_shm
lib: add strtol into utility library The utility library is for functions which are shared in commands, but that does not belong to libproc-ng. The first function is a wrapper for strtol that performs error checking, and exists if such happen. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-10-19 00:24:30 +05:30
test_strutils
A locale-independent strtod There is a need in some utilities to have a way of accepting both types of decimal points "." and ",". The only way seems to be to rebuild strtod(). This new function will accept "123.456" and "123,456" as 123.456 and considers them the same number. It means we lose thousands separator, but this is rarely used. test scripts are added to check the function returns the proper values. There was simpler predecessor that got stuck on negative 0 or -0.123 which these tests flushed out. References:
2016-03-03 15:54:08 +05:30
test_strtod_nol
Reference in New Issue
Copy Permalink