/* Change Logs: Date Author Notes  Bernard the first version  */
int pthread_rwlockattr_init(pthread_rwlockattr_t *attr)
/* Change Logs: Date Author Notes  Bernard the first version  */
int pthread_rwlockattr_init(pthread_rwlockattr_t *attr)
{
    if (!attr)
        return EINVAL;
    *attr = PTHREAD_PROCESS_PRIVATE;
    return 0;
}