SYSFS_STREQ(9) Basic C Library Functions SYSFS_STREQ(9)NAMEsysfs_streq - return true if strings are equal, modulo trailing newlineSYNOPSISbool sysfs_streq(const char * s1, const char * s2);ARGUMENTSs1 one string s2 another stringDESCRIPTIONThis 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.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SYSFS_STREQ(9)