Apue CH7 Environ

Source: Internet
Author: User

This chapter of learning makes me understand

Process typical storage space

How environment variables and command-line arguments are passed to the process

5 Forms of normal termination of a process and 3 forms of abnormal termination

How to dynamically allocate additional storage space to a process

SETJMP and LONGJMP functions and their interaction with the stack, and the state effect on the Auto register volatile static global 5 types of variables

This is a non-local transfer--spanning the stack frame

Volatile prevents compiler optimizations for code type specifier distinguish between embedded and C programmers

Can a variable be both const and volatile?

Can a pointer be volatile?

What happens to the parameters of the function that are volatile?

The Getrlimit and Setrlimit functions read and set the soft and hard limits.

Resource limits

Rlimit_as (infinite) (infinite)
Rlimit_core 0 (infinite)
Rlimit_cpu (infinite) (infinite)
Rlimit_data (infinite) (infinite)
Rlimit_fsize (infinite) (infinite)
Rlimit_locks (infinite) (infinite)
Rlimit_memlock 65536 65536
Rlimit_nofile 1024 4096
Rlimit_nproc 4096 7906
Rlimit_rss (infinite) (infinite)
Rlimit_stack 8388608 (infinite)

Apue CH7 Environ

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.