GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  STRDIFF (3)

NAME

strdiff - locate first difference between two strings

CONTENTS

Synopsis
Description
Author

SYNOPSIS

#include <publib.h>
size_t strdiff(const char *str1, const char *str2);

DESCRIPTION

strdiff finds the first character from the beginning that is different in the two strings str1 and str2. The terminating zero characters are considered different.

RETURN VALUE

strdiff returns a the offset of the first pair of differring characters (or the offset of the first zero character it finds).

SEE ALSO

publib(3), string(3), strcmp(3)

AUTHOR

Lars Wirzenius (lars.wirzenius@helsinki.fi)
Search for    or go to Top of page |  Section 3 |  Main Index


Publib STRDIFF (3) C Programmer's Manual

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.