#[unsafe(no_mangle)]pub unsafe extern "C" fn pthread_barrierattr_setpshared(
attr: *mut pthread_barrierattr_t,
pshared: c_int,
) -> c_intExpand description
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/pthread_barrierattr_setpshared.html.
Sets the process-shared attribute in an initialized attributes object
referenced by attr.
Upon success, returns 0. Upon error, returns an error number.
§Implementation
Not async-signal-safe.
§Safety
Undefined behaviour will occur if attr is uninitialized.