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
DOWNSTR(3) MBK UTILITY FUNCTIONS DOWNSTR(3)

downstr - convert a string to lower case

See the file man1/alc_origin.1.

#include "mut.h"
void downstr(s, t)
char ∗s, ∗t;

Pointer to the source string
Pointer to the destination string

downstr converts the s string to lower case in t. The space for t must be allocated by the caller, and be at least strlen(s) + 1 long.

#include "mut.h"
void cmp()
{
char ∗s = "PWET", t[5];
	downstr(s, t);
	if (strcmp(t, "pwet")) {
		fprintf(stderr, "Downstr sucks, man");
		EXIT();
	}
}

mbk(1), upstr(3).

See the file man1/alc_bug_report.1.

October 1, 1997 ASIM/LIP6

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.