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
xt_strlower(3) FreeBSD Library Functions Manual xt_strlower(3)

xt_strlower() - Convert all upper case characters to lower

#include <xtend/string.h>
-lxtend

size_t  xt_strlower(char *str)

str         Pointer to null-terminated string to be copied

xt_strlower(3) converts upper case characters in a string to lower case, overwriting the original. It is functionally equivalent to xt_strllower(str, str, strlen(str)). It is implemented separately for efficiency, since using xt_strllower(3) for this purpose requires knowing or computing the length of the string and passing three arguments instead of one.

Size of the src string.

char    src[] = "Some text",
dest    [DEST_SIZE + 1];
if ( xt_strllower(dest, src, DEST_SIZE + 1) != DEST_SIZE + 1 )

fputs("Warning: String truncated.n", stderr);

xt_strllower(3), strlcpy(3), strlcat(3)


Search for    or go to Top of page |  Section 3 |  Main Index

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