strends(9)
πΈ NAME: strends(9) from the Kernel API Manual πΈ
okay so bestie, welcome to strends β the function that checks if a string ends with another string. itβs giving suffix vibe check, and honestly it ate. no cap. π
β¨ SYNOPSIS β¨
bool strends (const char *str , const char *suffix );
π ARGUMENTS π
strβ theNULL-terminated string to check againstsuffix. main character input fr fr. π«Άsuffixβ theNULL-terminated string defining the suffix to look for instr. the little ending weβre hunting for, iykyk. π₯
π RETURN π
Returns True if str ends with suffix. Returns False in all other cases. thatβs the whole verdict, periodt. β
π SEE ALSO π
Go peek at the Kernel file ./include/linux/string.h, plus these iconic friends:
memdup_array_user(9)vmemdup_array_user(9)strscpy(9)strscpy_pad(9)mem_is_zero(9)sysfs_match_string(9)memzero_explicit(9)kbasename(9)strtomem_pad(9)strtomem(9)memtostr(9)memtostr_pad(9)memset_after(9)memset_startat(9)str_has_prefix(9)strstarts(9)
source/version: ./include/linux π date: October 2026 π page: strends(9) β bye bestie, slay those suffix checks! πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms