This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Document pthread_[gs]etattr_default_np in the manual


> +The @glibcadj{} provides non-standard API functions to set and get the default

This should use @Theglibc{}.

> +@deftypefun int pthread_getattr_default_np (pthread_attr_t *@var{attr})
> +Get the default attribute values and set @var{attr} to match.  This function
> +is guaranteed not to fail.
> +@end deftypefun

If it's guaranteed not to fail it should return void.  We want it to return
an error code (int) for consistency with the rest of the API.  That means
we reserve the right for it to have ways to fail, even if there are no
specific error conditions we document.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]