提交 0b2764d0 编写于 作者: R Rich Felker

provide prototype for pthread_getattr_np

上级 14a835b3
......@@ -209,6 +209,10 @@ void _pthread_cleanup_pop(struct __ptcb *, int);
#define pthread_cleanup_push(f, x) do { struct __ptcb __cb; _pthread_cleanup_push(&__cb, f, x);
#define pthread_cleanup_pop(r) _pthread_cleanup_pop(&__cb, (r)); } while(0)
#ifdef _GNU_SOURCE
int pthread_getattr_np(pthread_t, pthread_attr_t *);
#endif
#ifdef __cplusplus
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册