BSS, etc..

Processes each comprise:
+--------------------+
| "text" (bin. exe)  |
+--------------------+
| data               |
+--------------------+
| BSS                |
+--------------------+
|   .                |
|   .                |
|   .                |
+--------------------+
| stack              |
+--------------------+

Kinds of C language variables

int  max_pix_val = 255;   /* goes in "data" segment */
int  pix_val;             /* goes in BSS segment */
main(argc,argv)
{
 int     width=640;       /* goes in "automatic" */
 int     height=480;      /* goes in "automatic" */
 int     m, n;            /* go in "automatic" */
 static  myNaN = 255;     /* goes in BSS */ 
}

Here's an example I found with www search on keywords: bss, test, stack, (Clemson University Fall 2001)


Assigned readings from the course textbook (man pages)