I'm writing a very simple program in linux to fork a child process. The only problem is that when I have the parent process call wait(&status), i get an error that says " 'status' declared as reference but not initialized" status is defined as int status; right in main so i'm not sure what the hell I am doing wrong, although I'm sure it's something simple. Can anyone offer some suggestions?
Go one step further. Use Windows DiskCleaner (the advanced version)
Open an elevated command prompt:
Click Start, type cmd, hold CTRL+SHIFT+ENTER. An elevated prompt should open. In this prompt copy/paste press Enter.
cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535
Disk Cleaner should be opened with a few more options. Check all the boxes and click OK. It may take a while, let it finish. You should see a gain in space on the scale of GBs.
Question
Kal525
I'm writing a very simple program in linux to fork a child process. The only problem is that when I have the parent process call wait(&status), i get an error that says " 'status' declared as reference but not initialized" status is defined as int status; right in main so i'm not sure what the hell I am doing wrong, although I'm sure it's something simple. Can anyone offer some suggestions?
Link to comment
https://www.neowin.net/forum/topic/143493-problem-with-wait-system-call/Share on other sites
11 answers to this question
Recommended Posts