HomeFreeBSD

linuxkpi: Add `strim()`

Description

linuxkpi: Add strim()

This function trims whitespaces at the end of a string and returns a
pointer to the first non-whitespace character.

Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49374

Details

Provenance
dumbbellAuthored on Feb 24 2025, 11:30 PM
Reviewer
emaste
Differential Revision
D49374: linuxkpi: Add `strim()`
Parents
rGfbcf3b74e8f2: tcp: fix detection of bad RTOs
Branches
Unknown
Tags
Unknown