TAILIEUCHUNG - ansi C reference phần 6

Tên miền không gian tên trong một lồng nhau-tên-specifier có trách nhiệm được xác định bởi một định nghĩa namednamespace hoặc một định nghĩa bí danh tên miền không gian. Việc tìm kiếm cho vòng loại ban đầu trước bất kỳ:: | 18-10 Language support library DRAFT 28 April 1995 Start and termination Table 28 Header cstdlib synopsis Type Name s Macros m _ a . -r . T EXIT FAILURE EXIT SUCCESS Functions abort atexit exit 2 The contents are the same as the Standard C library with the following changes atexit void f void 3 The function atexit has additional behavior in this International Standard For the execution of a function registered with atexit if control leaves the function because it provides no handler for a thrown exception terminated is called . exit int status 4 The function exit has additional behavior in this International Standard First all functions f registered by calling atexit f are called in the reverse order of their 162 163 Next all static objects are destroyed in the reverse order of their construction. Automatic objects are not destroyed as a result of calling exit . Next all open C streams as mediated by the function signatures declared in cstdio with unwritten buffered data are flushed all open C streams are closed and all files created by calling tmpfile are Finally control is returned to the host environment. If status is zero or EXIT_SUCCESS an implementation-defined form of the status successful termination is returned. If status is EXIT_FAILURE an implementation-defined form of the status unsuccessful termination is returned. Otherwise the status returned is 5 The function exit never returns to its caller. SEE ALSO subclauses ISO C subclause . Dynamic memory management 1 The header new defines several functions that manage the allocation of dynamic storage in a program. It also defines components for reporting storage management errors. Header new synopsis 161 A function is called for every time it is registered. The function signature atexit void is declared in cstdlib . 162 Automatic objects are all destroyed in a program whose function main contains .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.