Alternative of system() in c Linux to execute a terminal command of linux
I want to execute a terminal command of linux in C program. currently I am using system() function but I want to use any other as system() function is banned as per MISRA.
for ex, how to replace
system("hwclock --systohc --utc");
|