sysfs_streq(9) centos man page | unix.com

Man Page: sysfs_streq

Operating Environment: centos

Section: 9

SYSFS_STREQ(9)						     Basic C Library Functions						    SYSFS_STREQ(9)

NAME
sysfs_streq - return true if strings are equal, modulo trailing newline
SYNOPSIS
bool sysfs_streq(const char * s1, const char * s2);
ARGUMENTS
s1 one string s2 another string
DESCRIPTION
This routine returns true iff two strings are equal, treating both NUL and newline-then-NUL as equivalent string terminations. It's geared for use with sysfs input strings, which generally terminate with newlines but are compared against values without newlines.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SYSFS_STREQ(9)
Related Man Pages
stpcpy(3) - mojave
strcpy(3) - mojave
strncmp(3) - mojave
strcmp(3) - freebsd
strncpy(3) - osx
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
How to increment version inside a file?
CentOS7 restoring file capabilities
Unsure why access time on a directory change isn't changing
Please Welcome Dave Munro to the Moderator Team!