strneqvcmp(3)


NAME

   strneqvcmp - compare two strings with an equivalence mapping

SYNOPSIS

   #include <your-opts.h>
   cc [...] -o outfile infile.c -lopts [...]

   int strneqvcmp(char const * str1, char const * str2, int ct);

DESCRIPTION

   Using  a character mapping, two strings are compared for "equivalence".
   Each input character is  mapped  to  a  comparison  character  and  the
   mapped-to  characters  are  compared  for  the two NUL terminated input
   strings.  The comparison is limited to ct bytes.  This function name is
   mapped  to  option_strneqvcmp so as to not conflict with the POSIX name
   space.

   str1   first string

   str2   second string

   ct     compare length

RETURN VALUE

   the difference between two differing characters

ERRORS

   none checked.  Caller responsible for seg faults.

SEE ALSO

   The info documentation for the -lopts library.
   ao_string_tokenize(3),      configFileLoad(3),       optionFileLoad(3),
   optionFindNextValue(3),        optionFindValue(3),       optionFree(3),
   optionGetValue(3),       optionLoadLine(3),        optionMemberList(3),
   optionNextValue(3),      optionOnlyUsage(3),     optionPrintVersion(3),
   optionPrintVersionAndReturn(3),   optionProcess(3),   optionRestore(3),
   optionSaveFile(3),      optionSaveState(3),      optionUnloadNested(3),
   optionVersion(3),     strequate(3),     streqvcmp(3),     streqvmap(3),
   strtransform(3),

                              2016-10-30                     strneqvcmp(3)


More Linux Commands

manpages/encrypt_r.3.html
encrypt_r(3) - encrypt 64-bit messages - Linux manual page
These functions encrypt and decrypt 64-bit messages. The setkey() function sets the key used by encrypt(). The key argument used here is an array of 64 bytes, e

manpages/glutSpaceballButtonFunc.3.html
glutSpaceballButtonFunc(3) - sets the Spaceball button callb
glutSpaceballButtonFunc sets the Spaceball button callback for the current window. The Spaceball button callback for a window is called when the window has Spac

manpages/itclcomponent.n.html
itclcomponent(n) define components for extendedclass, widget
The component command is used inside an [incr Tcl] extendedclass/widget/widgetadaptor definition to define components. Explicitly declares a component called co

manpages/seekdir.3.html
seekdir(3) - set the position of the next readdir() call in
The seekdir() function sets the location in the directory stream from which the next readdir(2) call will start. The loc argument should be a value returned by

manpages/srand.3.html
srand(3) - pseudo-random number generator - Linux man page
The rand() function returns a pseudo-random integer in the range 0 to RAND_MAX inclusive (i.e., the mathematical range [0, RAND_MAX]). The srand() function sets

manpages/detectups.8.html
detectups(8) - UPS detection/powerd configuration generator
detectups monitors the serial port connected to an UPS device and will attempt to determine the method of UPS notification of power outage. It will ask you to r

manpages/settimeofday.2.html
settimeofday(2) - get / set time (System - Linux man page)
The functions gettimeofday() and settimeofday() can get and set the time as well as a timezone. The tv argument is a struct timeval (as specified in &lt;sys/time.h

manpages/rename.n.html
rename(n) - Rename or delete a command - Linux manual page
Rename the command that used to be called oldName so that it is now called newName. If newName is an empty string then oldName is deleted. oldName and newName m

manpages/gnutls_db_set_store_function.3.html
gnutls_db_set_store_function(3) - API function (Man Page)...
Sets the function that will be used to store data from the resumed sessions database. This function must remove 0 on success. The first argument to store_func w

manpages/glVertexPointer.3gl.html
glVertexPointer(3gl) - define an array of vertex data.......
glVertexPointer specifies the location and data of an array of vertex coordinates to use when rendering. size specifies the number of coordinates per vertex and

manpages/XTextPropertyToStringList.3.html
XTextPropertyToStringList(3) - convert string lists and text
The XStringListToTextProperty function sets the specified XTextProperty to be of type STRING (format 8) with a value representing the concatenation of the speci

manpages/mblen.3.html
mblen(3) - determine number of bytes in next multibyte chara
If s is not NULL, the mblen() function inspects at most n bytes of the multibyte string starting at s and extracts the next complete multibyte character. It use





We can't live, work or learn in freedom unless the software we use is free.