MCPcopy Create free account
hub / github.com/F-Stack/f-stack / set_errno

Function set_errno

app/redis-6.2.6/deps/jemalloc/include/jemalloc/internal/util.h:46–53  ·  view source on GitHub ↗

Set error code. */

Source from the content-addressed store, hash-verified

44
45/* Set error code. */
46UTIL_INLINE void
47set_errno(int errnum) {
48#ifdef _WIN32
49 SetLastError(errnum);
50#else
51 errno = errnum;
52#endif
53}
54
55/* Get last error code. */
56UTIL_INLINE int

Callers 10

aligned_alloc.cFile · 0.85
TEST_BEGINFunction · 0.85
malloc_io.cFile · 0.85
TEST_BEGINFunction · 0.85
malloc_conf_initFunction · 0.85
imalloc_bodyFunction · 0.85
imallocFunction · 0.85
jemalloc.cFile · 0.85
malloc_strtoumaxFunction · 0.85
malloc_io.cFile · 0.85

Calls

no outgoing calls

Tested by 2

TEST_BEGINFunction · 0.68
TEST_BEGINFunction · 0.68