MCPcopy Create free account
hub / github.com/GJDuck/e9patch / mutex_init

Function mutex_init

examples/stdlib.c:1534–1538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1532}
1533
1534static void mutex_init(mutex_t *m)
1535{
1536 mutex_t m0 = MUTEX_INITIALIZER;
1537 memcpy(m, &m0, sizeof(struct mutex_s));
1538}
1539
1540static pid_t *mutex_get_ptr(const mutex_t *m)
1541{

Callers 1

pool_createFunction · 0.85

Calls 1

memcpyFunction · 0.85

Tested by

no test coverage detected