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

Function get_errno

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

Get last error code. */

Source from the content-addressed store, hash-verified

54
55/* Get last error code. */
56UTIL_INLINE int
57get_errno(void) {
58#ifdef _WIN32
59 return GetLastError();
60#else
61 return errno;
62#endif
63}
64
65#undef UTIL_INLINE
66

Callers 7

TEST_BEGINFunction · 0.85
aligned_alloc.cFile · 0.85
TEST_BEGINFunction · 0.85
malloc_io.cFile · 0.85
TEST_BEGINFunction · 0.85
pages.cFile · 0.85
malloc_io.cFile · 0.85

Calls

no outgoing calls

Tested by 3

TEST_BEGINFunction · 0.68
TEST_BEGINFunction · 0.68
TEST_BEGINFunction · 0.68