16. Command line arguments And environment variables Intialized to 0 by exec Read from prog File by exec High address Low address Stack heap Uninitialised data initialised data Text
17.
18. realloc may increase or decrease the size of previously allocated area .If it decreases the size no problem occurs But if the size increases then…………. #include <stdlib.h> void *malloc (size_t size); void *calloc (size_t nobj, size_t size); void *realloc (void *ptr, size_t newsize);
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32. getrlimit and setrlimit #include <sys/time.h> #include <sys/resource.h> int getrlimit (int resource ,struct rlimit *rlptr); int setrlimit (int resource ,const struct rlimit *rlptr);
33.
34.
35.
36.
37.
38.
39.
40.
41. Kernel support for processes File descriptor table Current directory root text data stack Per process u-area Per process region table Kernel region table Process table
42.
43. Fd table stack data text stack data File table parent child Process table Kernel region table Fd table