I remember seeing in the past a program that would take any file and generate a C array representing that file as output; it would prevent distribution of a separate file ...
I would like to know how to generate assembler code from a C program using Unix.
I tried the gcc: gcc -c file.c
I also used firstly cpp and then try as but ...
My understanding was that one could not control the file descriptor (integer) assigned by the OS when opening a new file using open(). How then is it possible in a ...
I'm wanting to write my own psuedo-shell and would like to get pretty colors etc. How do I go about tricking a subprocess into thinking that it is in a TTY? ...
someone i know encountered a problem when running 'lmutil' so i asked them to strace -f lmutil. Why is execve failing with "No such file"!!! It makes no sense, since I ...
iam trying to pass the file descriptor between two processes using sendmsg, recvmsg functions..
Iam doing it by creating the socket in unix domain.
When i execute it iam getting the operation not ...
What I need to do is to fill the entire file contents with zeros in the fastest way. I know some linux commands like cp actually gets what is the best ...
What are the portable options if one needs to export open file descriptors to child processes created using exec family of library functions?
Thank you.
EDIT. I know that child processes inherit open ...
Please help me... that's the in Unix or Linux,coding step by step to test its file structure: 1.close screenkbreturn error and so on,what happen? EX:screen or kb enable? 2.open the file descriptor which closed in first step, see if the screen or kb enable? return error message? 3.Open a new file F 4.Fork child process 5.test the maximum files can ...