Page MenuHomeFreeBSD

Document sched_getaffinity and sched_setaffinity
AcceptedPublic

Authored by felix.the.red_gmail.com on Jul 7 2025, 6:35 PM.
Tags
None
Referenced Files
F156461812: D51196.id158121.diff
Wed, May 13, 8:27 PM
F156461777: D51196.id158121.diff
Wed, May 13, 8:27 PM
F156442713: D51196.id.diff
Wed, May 13, 5:42 PM
Unknown Object (File)
Sun, May 10, 5:44 PM
Unknown Object (File)
Thu, Apr 23, 11:14 AM
Unknown Object (File)
Tue, Apr 21, 1:33 PM
Unknown Object (File)
Mon, Apr 20, 4:36 AM
Unknown Object (File)
Apr 7 2026, 2:59 PM

Details

Reviewers
pauamma_gundo.com
kib
Group Reviewers
manpages
Summary

The sched_getaffinity(3) and sched_setaffinity(3) functions added in FreeBSD 13.1 lack a manual page.
This revision creates a manual page to document those functions, and fixes issues with the previous revision.

PR:265249

Test Plan

Read lib/libc/gen/sched_getaffinity.c and lib/libc/gen/sched_setaffinity.c.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

lwhsu added inline comments.
lib/libc/gen/Makefile.inc
523
This revision is now accepted and ready to land.Jul 7 2025, 11:51 PM
lib/libc/gen/sched_getaffinity.3
3

You need a comment line before and after this like it shows in style(9)

Except for the Makefile glitches, the content LGTM.

lib/libc/gen/Makefile.inc
301

Order alphabetically.