Skip to contentSkip to conversation

New: posix_fadvise refers to non-existent len parameter

Bug 219921 [email protected] 1 participant 2 messages Mar 25, 2025 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=219921

Bug ID: 219921
Summary: posix_fadvise refers to non-existent len parameter
Product: Documentation
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: man-pages
Assignee: [email protected]
Reporter: [email protected]
Regression: No

The man page currently reads:

int posix_fadvise(int fd, off_t offset, off_t size, int advice);

The advice applies to a (not necessarily existent) region starting at offset and extending for len bytes (or until the end of the file if len is 0) within the file referred to by fd.

But there is no "len" in the prototype.

Changing "size" to "len" in the prototype or "len" to "size" in the description would fix this.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 219921] posix_fadvise refers to non-existent len parameter

https://bugzilla.kernel.org/show_bug.cgi?id=219921

Alejandro Colomar ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |CODE_FIX

--- Comment #1 from Alejandro Colomar ([email protected]) --- Thanks! I've fixed it. I'll push soon.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.