]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual: fix typo for sched_[sg]etattr
authorDJ Delorie <dj@redhat.com>
Wed, 7 May 2025 23:23:06 +0000 (19:23 -0400)
committerDJ Delorie <dj@redhat.com>
Mon, 12 May 2025 21:07:23 +0000 (17:07 -0400)
Originally added in 41a90f3f5f which says it's adding sched_getattr
and sched_setattr.

Reviewed-by: Collin Funk <collin.funk1@gmail.com>
manual/resource.texi

index acdb1f39867239f7b23c5bbe659dad42cc7126dd..a895021870953864874ecedd39b3c3363ec6ea54 100644 (file)
@@ -1015,7 +1015,7 @@ For additional information, consult the manual page
 @manpageurl{sched_setattr,2}.
 @end deftp
 
-@deftypefun int sched_setaddr (pid_t @var{tid}, struct sched_attr *@var{attr}, unsigned int flags)
+@deftypefun int sched_setattr (pid_t @var{tid}, struct sched_attr *@var{attr}, unsigned int flags)
 @standards{Linux, sched.h}
 @safety{@mtsafe{}@assafe{}@acsafe{}}
 This functions applies the scheduling policy described by
@@ -1058,7 +1058,7 @@ policy of the thread @var{tid}.
 Other error codes depend on the scheduling policy.
 @end deftypefun
 
-@deftypefun int sched_getaddr (pid_t @var{tid}, struct sched_attr *@var{attr}, unsigned int size, unsigned int flags)
+@deftypefun int sched_getattr (pid_t @var{tid}, struct sched_attr *@var{attr}, unsigned int size, unsigned int flags)
 @standards{Linux, sched.h}
 @safety{@mtsafe{}@assafe{}@acsafe{}}
 This function obtains the scheduling policy of the thread @var{tid}