I want to execute the following commands from a C program:
amixer --quiet set Master 5+
amixer --quiet set Master 6-
Here, 5 and 6 are not fixed values. They are Input Arguments of the code which can have different values.
Can anybody please guide me on how to achieve this?
The following code can achieve this: