_set_doserrno
Sets the value of the _doserrno
global variable.
Syntax
errno_t _set_doserrno( int error_value );
Parameters
error_value
The new value of _doserrno
.
Return value
Returns zero if successful.
Remarks
Possible values are defined in Errno.h.
By default, this function's global state is scoped to the application. To change this behavior, see Global state in the CRT.
Requirements
Routine | Required header | Optional header |
---|---|---|
_set_doserrno |
<stdlib.h> | <errno.h> |
For more compatibility information, see Compatibility.
See also
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ