Nobody's perfect :( I am improving tho
Type: Posts; User: stevenswj
Nobody's perfect :( I am improving tho
It's a class project we're not writing a new distribution of the Linux operating system or anything. In any case, I demoed my project this morning and it fulfilled all the requirements, so I don't...
The warnings are all acceptable, I have read them and taken them into account. I'm tired of reading them, would be great not to have to write some script or long command to get around this... The...
Since I don't have 50 years of free time to read the entire man page, was just wondering how you exclude warnings in the output so you only see the errors? Useful for when you have like 300 warnings...
Yep that's what I meant, and I ran some tests and everything seemed fine, I just wanted to make sure there wasn't something amiss that I wasn't seeing.
Without re-opening the fd, just wondering if this is all right or not?
Say you have char arr[10][10] and you want to pass it to a function as is. How do you declare the function parameter? I want to be able to pass in a 2d array of arbitrary size, I don't want to fix...
say you have a(char *s){...} and b(char s[]){...}
How are strings passed in treated differently when arguments in functions are declared in this way? Or are they 100% interchangeable?
OK I know this is bad practice, but if you never free something that was malloc'd in a program, ran out of heap space (memory leak obviously), then killed the program, what exactly happens to that...
Ah, so when you get a segmentation fault what is actually meant is a page fault for these environments? And thus technically the term is incorrect?
This is allowed on x86 32-bit and 64-bit architectures correct me if I'm wrong? If so then how do operating systems like Windows and Linux use them?
What if we're talking just 1 CPU where only a single process can be running at a time?
For my assignment we are writing a unix variant operating system based on something like this where the child...
Does the CPU freeze the parent and start executing the child process right away when this gets called? Or does it just create a child process image, then resume the parent process where the child is...
Forgive me if this sounds like a newbie question. Any time you obtain a virtual stack address from a pointer, such as doing something like:
printf("%d\n", &var);
what is this address relative...