python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Redirect output of command line to a variable in C
Is there a way to redirect output of a command line which returns integer as an output to a variable in C?
for example, if the command is "cmd", then is there a way to redirect its output (a...
qwerty
Votes: 0
Answers: 3
how to uncompress a compressed file using system call in C
I want to uncompress a tar.gz file into a unique directory using system call in C. Can anyone please help me with that. I will be running the .c file in linux.
user18726987
Votes: 0
Answers: 1
mmap() system call linux 32-bit x86 NASM(i386)
I am trying to use mmap for my code but I dont have a clue to choose the values to store in the registers in pre interrupt processing. I picked up below part of code from somewhere. I am trying to pri...
Mike
Votes: 0
Answers: 0
How to use read syscall with an integer fd in C++
I am working with sockets. On creating one using socket(), we get an integer file descriptor. I then want to read data from this fd.
To do so, I was following functioning C code - using the read() sys...

Vedaant Arya
Votes: 0
Answers: 1