📄 strutil.3
字号:
.\"(c) Copyright 1992, 1993 by Panagiotis Tsirigotis.\"All rights reserved. The file named COPYRIGHT specifies the terms .\"and conditions for redistribution..\".\" $Id: strutil.3,v 1.1.1.1 2003/02/19 17:29:27 bbraun Exp $.TH STRUTIL 3X "30 September 1992".SH NAMEstr_find, str_casefind, str_fill, str_lower, str_upper -- string utility functions.SH SYNOPSIS.LP.nf.ft B#include "str.h".LP.ft Bchar *str_find( s1, s2 )char *s1, *s2 ;.LP.ft Bchar *str_casefind( s1, s2 )char *s1, *s2 ;.LP.ft Bvoid str_fill( s, c )char *s ;char c ;.LP.ft Bchar *str_lower( s )char *s ;.LP.ft Bchar *str_upper( s )char *s ;.SH DESCRIPTION.B str_find()returns a pointer to the first instance of string \fIs2\fR in string \fIs1\fR.If \fIs2\fR is the empty string a pointer to \fIs1\fR is returned..LP.B str_casefind()performs the same function as.B str_find()except that it performs case insensitive character comparisons..LP.B str_fill()fills the string \fIs\fR with the character \fIc\fR..LP.B str_lower()and.B str_upper()convert their argument in place to a lower or upper case string respectively..SH "RETURN VALUES".LP\fBstr_find()\fR and.B str_casefind()return a pointer to the first occurrence of \fIs2\fRin \fIs1\fR or.SM NULLif \fIs2\fR does not exist in \fIs1\fR..LP\fBstr_lower()\fR and \fBstr_upper()\fR return \fIs\fR.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -