File: wncase.3

package info (click to toggle)
libwn6 6.0-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,996 kB
  • ctags: 3,938
  • sloc: ansic: 45,083; makefile: 926; csh: 274; sh: 12
file content (51 lines) | stat: -rw-r--r-- 1,361 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.\" placed in the public domain by Will Naylor     -*- nroff -*-
.\" 1998-08-21 formatting added by Jim Van Zandt <jrv@vanzandt.mv.com>
.TH WNCASE 3 "August 23, 1998" "WNLIB" ""
.SH NAME
wn_strupcase, wn_strlowcase, wn_memupcase, wn_memlowcase, wn_charupcase, wn_charlowcase \- routines to deal with capitalization
.SH SYNOPSIS
.nf
.B #include <wn/wncase.h>
.sp
.B wn_strupcase(\fIstring\fP)
.B char \fIstring\fP[];
.sp
.B wn_strlowcase(\fIstring\fP)
.B char \fIstring\fP[];
.sp
.B wn_memupcase(\fIstring\fP,\fIlen\fP)
.B char \fIstring\fP[];
.B int \fIlen\fP;
.sp
.B wn_memlowcase(\fIstring\fP,\fIlen\fP)
.B char \fIstring\fP[];
.B int \fIlen\fP;
.sp
.B wn_charupcase(&\fIc\fP)
.B char \fIc\fP;
.sp
.B wn_charlowcase(&\fIc\fP)
.B char \fIc\fP;
.SH DESCRIPTION
\fBwn_strupcase\fP converts all letters in \fIstring\fP to 
upper-case.

\fBwn_strlowcase\fP converts all letters in \fIstring\fP to 
lower-case.

\fBwn_memupcase\fP converts all letters in \fIstring\fP to 
upper-case.  \fIstring\fP is assumed to be \fIlen\fP chars long.

\fBwn_memlowcase\fP converts all letters in \fIstring\fP to 
lower-case.  \fIstring\fP is assumed to be \fIlen\fP chars long.

\fBwn_charupcase\fP converts \fIc\fP to upper case if it is a letter.

\fBwn_charlowcase\fP converts \fIc\fP to lower case if it is a letter.
.\".SH BUGS
.SH "SEE ALSO"
wnstr
.SH AUTHOR
Will Naylor