[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1735293242400640.png (286 KB, 1090x1080)
286 KB
286 KB PNG
previous: >>108414057

#define __NR_sysinfo            99
#define __NR_times 100

https://man7.org/linux/man-pages/man2/sysinfo.2.html
https://man7.org/linux/man-pages/man2/times.2.html

tl;dr:
get information about the system/timing information about a process

these two aren't exactly similar, but they're the same vibe and probably could have been squished together into the last thread, since they're all basically ways to get metadata about your machine and the processes running on it
if im being honest, though, the only reason i am combining these is so that tomorrow's thread will be on the weekend instead of a weekday. i have a loooot to say about that one, and i wanna make sure it doesn't die early
but anyway, back to the matter at hand.
>a portable application would be wise to avoid using this value
lmfao, then why does this even exist!!!!
same goes for
>All of the information provided by this system call is also available via /proc/meminfo and /proc/loadavg.
there is so much redundant garbage in linux it's actually unreal

relevant resources:
man man

man syscalls

https://man7.org/linux/man-pages/
https://linux.die.net/man/
https://elixir.bootlin.com/linux/
https://elixir.bootlin.com/musl/
https://elixir.bootlin.com/glibc/
>>
incidentally, i was wondering, has anyone run one of those text analysis tools on /g/? curious how it fares in comparison to /a/
>>
bampu
>>
fuck off spammer



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.