1 /* 2 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 * 16 */ 17 18 /** 19 * \file 20 * \brief fio_fcb_flags.h - FIO_FCB flags for access, dispose, blank, status 21 * and format fields: 22 */ 23 24 #define FIO_OLD 1 /* values for status */ 25 #define FIO_NEW 2 26 #define FIO_UNKNOWN 3 27 #define FIO_SCRATCH 4 28 #define FIO_REPLACE 5 29 30 #define FIO_KEEP 11 /* values for dispose */ 31 #define FIO_DELETE 12 32 33 #define FIO_DIRECT 21 /* values for acc(ess) */ 34 #define FIO_SEQUENTIAL 22 35 #define FIO_STREAM 24 36 37 #define FIO_FORMATTED 31 /* values for form(at) */ 38 #define FIO_UNFORMATTED 32 39 40 #define FIO_READ 41 /* values for action */ 41 #define FIO_WRITE 42 42 #define FIO_READWRITE 43 43 44 #define FIO_ASIS 51 /* values for position */ 45 #define FIO_REWIND 52 46 #define FIO_APPEND 53 47 48 #define FIO_APOSTROPHE 61 /* values for delim */ 49 #define FIO_QUOTE 62 50 #define FIO_NONE 63 51 52 #define FIO_COMMA 65 /* values for decimal */ 53 #define FIO_POINT 66 54 55 #define FIO_UTF_8 67 /* values for encoding */ 56 #define FIO_DEFAULT 68 /* values for encoding */ 57 58 #define FIO_UP 69 /* values for round */ 59 #define FIO_DOWN 70 60 /*#define FIO_ZERO*/ 61 #define FIO_NEAREST 71 62 #define FIO_COMPATIBLE 72 63 #define FIO_PROCESSOR_DEFINED 73 64 65 #define FIO_PLUS 76 /* values for sign */ 66 #define FIO_SUPPRESS 77 67 /*#define FIO_PROCESSOR_DEFINED*/ 68 69 #define FIO_ZERO 90 /* values for blank, pad */ 70 #define FIO_NULL 91 71 #define FIO_YES 92 72 #define FIO_NO 93 73