Environment Interaction
┌─────────────────────────┬──────────────┬─────────────────────────┬───────────┐
│ Function │ Header File │ Link to Function │ Descriptio│
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ abort │ "stdlib.h"" │ abort
│ Termi- │
│ │ process.h" │ │ nates a │
│ │ │ │ program │
│ │ │ │ abnor- │
│ │ │ │ mally. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ exit │ "stdlib.h"" │ exit
│ Ends a │
│ │ process.h" │ │ program │
│ │ │ │ normally. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ getenv │ "stdlib.h" │ getenv
│ Searches │
│ │ │ │ environ- │
│ │ │ │ ment var- │
│ │ │ │ iables │
│ │ │ │ for a │
│ │ │ │ specified │
│ │ │ │ variable. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ longjmp │ "setjmp.h" │ longjmp
│ Restores │
│ │ │ │ a stack │
│ │ │ │ environ- │
│ │ │ │ ment. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ setjmp │ "setjmp.h" │ setjmp
│ Saves a │
│ │ │ │ stack │
│ │ │ │ environ- │
│ │ │ │ ment. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ system │ "stdlib.h"" │ system
│ Passes a │
│ │ process.h" │ │ string to │
│ │ │ │ the oper- │
│ │ │ │ ating │
│ │ │ │ system's │
│ │ │ │ command │
│ │ │ │ inter- │
│ │ │ │ preter. │
└─────────────────────────┴──────────────┴─────────────────────────┴───────────┘
[Back: Memory Objects]
[Next: Setting and Querying Locale]