Search Results

Search: Posts Made By: techmonk
1,299
Posted By MadeInGermany
I think you better put the 60 second supervision...
I think you better put the 60 second supervision into the child code, i.e. replace the system() with code that installs such a signal / -handler and execve() so it directly receives the signal....
Forum: Programming 08-03-2015
2,385
Posted By jim mcnamara
int main() { return 0; } This...
int main()
{
return 0;
}


This is the most "minimal" legal C program. It is not obvious but main is in fact a function, not the real beginning of the compiled code. When you link a C...
Forum: Programming 08-03-2015
2,385
Posted By agent.kgb
read some book on C ;) C program must have main()...
read some book on C ;) C program must have main() function to run. With this statement


main;


you define a symbol with name "main". Both link and compiler require this symbol and you defined...
Forum: Programming 01-29-2014
1,540
Posted By Corona688
Your 'operator B' doesn't quite work, so it can't...
Your 'operator B' doesn't quite work, so it can't convert.

Making an operator there is tricky, because A doesn't know what the contents of B are yet... So you just have to say that the function...
Forum: Programming 10-22-2013
2,476
Posted By Corona688
Sorry, I was away last week, but that's exactly...
Sorry, I was away last week, but that's exactly it.

Making it 'virtual' means the computer needs to store extra information in the class, since it doesn't know what functions to call it it from...
2,042
Posted By Corona688
I consider that code dangerous because, when exec...
I consider that code dangerous because, when exec fails, the child code will fall into that same loop and start making its own child processes, which will start making their own child processes -- a...
2,951
Posted By pamu
OR tr '\n' ',' < file
OR

tr '\n' ',' < file
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 03:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy