STRNCASECMP(3POSIX)

πŸ’– STRNCASECMP πŸ’–

okay bestie, welcome to the POSIX Programmer's Manual page for STRNCASECMP(3POSIX) β€” yes it's a 3POSIX page, yes it's iconic, yes we're doing this. πŸŽ€


✨ PROLOG ✨

so like, real talk first: this manual page is part of the POSIX Programmer's Manual. 🫢

heads up babes β€” the Linux implementation of this interface may differ (so go consult the corresponding Linux manual page if you wanna know what Linux is actually doing, bestie), or honestly the interface may not be implemented on Linux at all. vibe check your platform, fr fr. πŸ’€

🌸 NAME 🌸

strncasecmp, strncasecmp_l β€” case-insensitive string comparisons ✨

like, you compare strings and you literally do not care about upper vs lower case. the case is not the moment. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <strings.h>

int strncasecmp(const char *s1, const char *s2, size_t n);
int strncasecmp_l(const char *s1, const char *s2,
    size_t n, locale_t locale);

look at those signatures, they ate. πŸ”₯


πŸ‘‘ DESCRIPTION πŸ‘‘

Refer to strcasecmp().

(no cap, that's the whole description. this page is giving "go read the other page" energy and honestly? respect. the full tea lives over at strcasecmp(), so run don't walk. πŸƒβ€β™€οΈπŸ’¨)


Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. πŸ“œ

okay so important legal bestie moment: in the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. like, that one wins. periodt. βš–οΈ

The original Standard can be obtained online at http://www.opengroup.org/unix/online.html . 🌈

Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html . πŸ™ˆ


and that's the whole page, bestie!! πŸŽ€ this one's brought to you by the girlies at IEEE/The Open Group, dated 2017, closing out as STRNCASECMP(3POSIX) β€” stay case-insensitive, stay iconic, mwah πŸ’–βœ¨πŸ¦‹