标签: apache-portable-runtime

如何使用 apr_file_open() 创建文件

我对 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)

c apr apache-portable-runtime

4
推荐指数
1
解决办法
2337
查看次数

APR(Apache 便携式运行时)1.2.2 正则表达式?

APR 1.2.2 有正则表达式支持吗?有使用它的文档或教程吗?

文档很糟糕。真的很糟糕。

c++ apache-portable-runtime

2
推荐指数
1
解决办法
1441
查看次数

标签 统计

apache-portable-runtime ×2

apr ×1

c ×1

c++ ×1