Sha256: a3c14e7adc52d68390ae076ab150cdf6285090902de71580ef5b7022a0a49ec4

Contents?: true

Size: 616 Bytes

Versions: 3

Compression:

Stored size: 616 Bytes

Contents

#ifndef AWS_COMMON_FILE_H
#define AWS_COMMON_FILE_H
/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */
#include <aws/common/common.h>

AWS_EXTERN_C_BEGIN

/**
 * To support non-ascii file path across platform.
 * For windows, _wfopen will be invoked under the hood. For other platforms, same as calling fopen
 * Functionality is the same as fopen.
 * On error, errno will be set, and NULL will be returned. Same as fopen.
 */
AWS_COMMON_API
FILE *aws_fopen(const char *file_path, const char *mode);

AWS_EXTERN_C_END

#endif /* AWS_COMMON_FILE_H */

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aws-crt-0.1.2 aws-crt-ffi/crt/aws-c-common/include/aws/common/file.h
aws-crt-0.1.1.pre native/crt/aws-c-common/include/aws/common/file.h
aws-crt-0.1.0.pre native/crt/aws-c-common/include/aws/common/file.h