(pthread_getattr_np): Clarify usage.
authordrepper <drepper>
Thu, 18 Sep 2003 19:14:22 +0000 (19:14 +0000)
committerdrepper <drepper>
Thu, 18 Sep 2003 19:14:22 +0000 (19:14 +0000)
linuxthreads/sysdeps/pthread/pthread.h

index f6cc899..efaf851 100644 (file)
@@ -289,7 +289,9 @@ extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict
      __THROW;
 
 #ifdef __USE_GNU
-/* Get thread attributes corresponding to the already running thread TH.  */
+/* Initialize thread attribute *ATTR with attributes corresponding to the
+   already running thread TH.  It shall be called on unitialized ATTR
+   and destroyed with pthread_attr_destroy when no longer needed.  */
 extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) __THROW;
 #endif