Disclaimer: not so advanced here!
Let me explain why I am looking for C code because the motivation itself maybe flawed. If I want to transport my Raspberry Pi project to the realm of customized hardware, embedded systems and ARM microprocessors (say for product development purposes), shouldn't I need to code in C since in most cases only C code can be compiled and executed by ARM processors? So if I am currently using python code, bash scripts, terminal commands, etc. to receive camera streams, would they help if I want to control the camera by customized hardware and ARM processors? (which may/may not run the complete linux operating system)
Example terminal command programs for which I need help getting C code equivalents:
1) This generates video stream on port 5001 at certain frame rate and dimension, using netcat. The latency is satisfyingly low and this is a requirement: raspivid -n -ih -t 0 -rot 0 -w 1280 -h 720 -b 1000000 -fps 15 -o - | nc - lkv4 5001
2) Waking the Raspberry Pi from sleep with GPIO interrupts. The method given in this link primarily uses bash scripts: https://howchoo.com/g/mwnlytk3zmm/how-to-add-a-power-button-to-your-raspberry-pi
Thanks in advance!