C Useful
System
An Example To Detect If Your Are LITTLE Or BIG ENDIAN
Catch CTRL+C Signal (Keyboard Interruption Signal)
( man signal | man 7 signal | man sigaction )
An Example To Detect If Current User Is 'root' (Linux) Or 'Administrator' (Windows)
( man getuid | MSDN IsUserAnAdmin )
An Example To Add Log On 'Syslog' (Linux) Or 'Events' (Windows)
( man syslog | MSDN RegisterEventSource | MSDN ReportEvent )
A Simple Example To Install / Manage / Uninstall A Windows Service
(ONLY Works On Windows)( MSDN OpenSCManager | MSDN OpenService | MSDN CreateService | MSDN DeleteService... )
A Simple Example To Create/Query/Delete Regedit Key And Value
(ONLY Works On Windows)( MSDN RegOpenKeyEx | MSDN RegSetValueEx | MSDN RegQueryValueEx... )