我对 Apache Portable Runtime 库(版本 1.4)进行以下调用:
result = apr_file_open(
&file, // new file handle
pathname, // file name
APR_FOPEN_CREATE | // create file if not there
APR_FOPEN_EXCL | // error if file was there already
APR_FOPEN_APPEND | // move to end of file on open
APR_FOPEN_BINARY | // binary mode (ignored on UNIX)
APR_FOPEN_XTHREAD | // allow multiple threads to use file
0, // flags
APR_OS_DEFAULT |
0, // permissions
pool // memory pool to use
);
if ( APR_SUCCESS …Run Code Online (Sandbox Code Playgroud) APR 1.2.2 有正则表达式支持吗?有使用它的文档或教程吗?
文档很糟糕。真的很糟糕。