📄 ne_shave.3
字号:
.\"Generated by db2man.xsl. Don't modify this, modify the source..de Sh \" Subsection.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Ip \" List item.br.ie \\n(.$>=3 .ne \\$3.el .ne 3.IP "\\$1" \\$2...TH "NE_SHAVE" 3 "5 July 2004" "neon 0.24.7" "neon API reference".SH NAMEne_shave \- trim whitespace from a string.SH "SYNOPSIS".ad l.hy 0#include <ne_string\&.h>.sp.HP 16char\ *\fBne_shave\fR\ (char\ *\fIstr\fR, const\ char\ *\fIwhitespace\fR);.ad.hy.SH "DESCRIPTION".PP\fBne_shave\fR returns a portion of \fIstr\fR with any leading or trailing characters in the \fIwhitespace\fR array removed\&. \fIstr\fR may be modified\&. Note that the return value may not be equal to \fIstr\fR\&..SH "EXAMPLES".PPThe following code segment will output"fish":.nfchar s[] = "\&.!\&.fish!\&.!";puts(ne_shave(s, "\&.!"));.fi.SH AUTHORJoe Orton <neon@webdav\&.org>.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -