/* This code is PUBLIC DOMAIN, and is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND. See the accompanying 
 * LICENSE file.
 */
#include "apr.h"
#include "apr_file_io.h"
#include <stdlib.h>
    
int main(int argc, const char * const argv[])
{
    apr_pool_t *pool;
    apr_file_t *out;

    apr_initialize();
    atexit(apr_terminate);
    apr_pool_create(&pool, NULL);
    
    apr_file_open_stdout(&out, pool);
    apr_file_puts("Hello World!" APR_EOL_STR, out);

    return EXIT_SUCCESS;
}
