📄 libgen.h.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title><libgen.h></title></head><body bgcolor=white><center><font size=2>The Single UNIX ® Specification, Version 2<br>Copyright © 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_007_341"> </a>NAME</h4><blockquote>libgen.h - definitions for pattern matching functions</blockquote><h4><a name = "tag_000_007_342"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <libgen.h></code></pre></blockquote><h4><a name = "tag_000_007_343"> </a>DESCRIPTION</h4><blockquote>The<i><libgen.h></i>header declares the following external variable:<pre><code>extern char* __loc1 (<b>LEGACY</b>)</code></pre><p>(Used by<i><a href="regex.html">regex()</a></i>to report pattern location.)<p>The following are declared as functions and may also be defined as macros.Function prototypes must be provided for use with an ISO Ccompiler.<pre><code>char *<a href="basename.html">basename</a>(char *);char *<a href="dirname.html">dirname</a>(char *);char *<a href="regcmp.html">regcmp</a>(const char *, ...); <b>(LEGACY)</b>char *<a href="regex.html">regex</a>(const char *, const char *, ...); <b>(LEGACY)</b></code></pre></blockquote><h4><a name = "tag_000_007_344"> </a>APPLICATION USAGE</h4><blockquote>The function prototypes for<i><a href="regcmp.html">regcmp()</a></i>and<i><a href="regex.html">regex()</a></i>are included in this header for historical reasons.New applications should use the<i><a href="regcomp.html">regcomp()</a></i>,<i><a href="regexec.html">regexec()</a></i>,<i><a href="regerror.html">regerror()</a></i>and<i><a href="regfree.html">regfree()</a></i>functions, and the<i><a href="regex.h.html"><regex.h></a></i>header, which provide full internationalised regular expressionfunctionality compatible with the ISO POSIX-2 standard, as described in the <b>XBD</b> specification, <a href="../xbd/re.html"><b>Regular Expressions</b> </a>.</blockquote><h4><a name = "tag_000_007_345"> </a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_007_346"> </a>SEE ALSO</h4><blockquote><i><a href="basename.html">basename()</a></i>,<i><a href="dirname.html">dirname()</a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX ® is a registered Trademark of The Open Group.<br>Copyright © 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -