@@ -136,20 +136,7 @@ void UT_os_initfs_test()
136
136
}
137
137
138
138
/*--------------------------------------------------------------------------------*
139
- ** Syntax: int32 OS_creat(const char *path, int32 access)
140
- ** Purpose: Creates a file of a given name and access mode, if doesn't exist;
141
- ** then opens it
142
- ** Parameters: *path - pointer to the absolute path name of the file to be created
143
- ** access - access modes with which to open a file
144
- ** Returns: OS_INVALID_POINTER if the pointer passed in is null
145
- ** OS_FS_ERR_PATH_INVALID is the path passed in is invalid
146
- ** OS_FS_ERR_PATH_TOO_LONG if the absolute path name passed in is too long
147
- ** OS_FS_ERR_NAME_TOO_LONG if the file name passed in is too long
148
- ** OS_ERROR if the OS call failed or file access is invalid
149
- ** OS_FS_ERR_NO_FREE_IDS if there are no more free file descriptors left in
150
- ** the File Descriptor table
151
- ** A file descriptor value if succeeded
152
- ** OS_ERR_NOT_IMPLEMENTED if not implemented
139
+ ** Purpose: Test OS_OpenCreate for creating files
153
140
** -----------------------------------------------------
154
141
** Test #0: Not-implemented condition
155
142
** 1) Call this routine
@@ -323,21 +310,7 @@ void UT_os_createfile_test()
323
310
}
324
311
325
312
/*--------------------------------------------------------------------------------*
326
- ** Syntax: int32 OS_open(const char *path, int32 access, uint32 mode)
327
- ** Purpose: Opens a file of a given name and access mode; if it doesn't exist,
328
- ** creates it first
329
- ** Parameters: *path - pointer to the absolute path name of the file to be created
330
- ** access - access modes with which to open a file
331
- ** mode - file permission which is not currently used
332
- ** Returns: OS_INVALID_POINTER if the pointer passed in is null
333
- ** OS_FS_ERR_PATH_INVALID is the path passed in is invalid
334
- ** OS_FS_ERR_PATH_TOO_LONG if the absolute path name passed in is too long
335
- ** OS_FS_ERR_NAME_TOO_LONG if the file name passed in is too long
336
- ** OS_ERROR if the OS call failed or file access is invalid
337
- ** OS_FS_ERR_NO_FREE_IDS if there are no more free file descriptors left in
338
- ** the File Descriptor table
339
- ** A file descriptor value if succeeded
340
- ** OS_ERR_NOT_IMPLEMENTED if not implemented
313
+ ** Purpose: Tests OS_OpenCreate for opening files
341
314
** -----------------------------------------------------
342
315
** Test #0: Not-implemented condition
343
316
** 1) Call this routine
@@ -1129,11 +1102,7 @@ void UT_os_lseekfile_test()
1129
1102
}
1130
1103
1131
1104
/*--------------------------------------------------------------------------------*
1132
- ** Syntax: int32 OS_chmod(const char *path, uint32 access)
1133
- ** Purpose: Changes access mode of a given file name
1134
- ** Parameters: *path - pointer to the path/name of the given file
1135
- ** access - file access flags
1136
- ** Returns: OS_ERR_NOT_IMPLEMENTED if not implemented
1105
+ ** Purpose: Test OS_chmod
1137
1106
** -----------------------------------------------------
1138
1107
** Test #0: Not-implemented condition
1139
1108
** 1) Call this routine
0 commit comments