Nathan Yonkee
/
Nucleo_sinewave_output_copy
init
mbed-os/platform/FileSystemHandle.cpp@10:46a4cf51ee38, 2018-03-02 (annotated)
- Committer:
- Nathan Yonkee
- Date:
- Fri Mar 02 07:16:49 2018 -0700
- Revision:
- 10:46a4cf51ee38
- Parent:
- 9:d58e77ebd769
remove mbed-os
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Nathan Yonkee |
9:d58e77ebd769 | 1 | /* mbed Microcontroller Library |
Nathan Yonkee |
9:d58e77ebd769 | 2 | * Copyright (c) 2006-2013 ARM Limited |
Nathan Yonkee |
9:d58e77ebd769 | 3 | * |
Nathan Yonkee |
9:d58e77ebd769 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Nathan Yonkee |
9:d58e77ebd769 | 5 | * you may not use this file except in compliance with the License. |
Nathan Yonkee |
9:d58e77ebd769 | 6 | * You may obtain a copy of the License at |
Nathan Yonkee |
9:d58e77ebd769 | 7 | * |
Nathan Yonkee |
9:d58e77ebd769 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Nathan Yonkee |
9:d58e77ebd769 | 9 | * |
Nathan Yonkee |
9:d58e77ebd769 | 10 | * Unless required by applicable law or agreed to in writing, software |
Nathan Yonkee |
9:d58e77ebd769 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Nathan Yonkee |
9:d58e77ebd769 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Nathan Yonkee |
9:d58e77ebd769 | 13 | * See the License for the specific language governing permissions and |
Nathan Yonkee |
9:d58e77ebd769 | 14 | * limitations under the License. |
Nathan Yonkee |
9:d58e77ebd769 | 15 | */ |
Nathan Yonkee |
9:d58e77ebd769 | 16 | |
Nathan Yonkee |
9:d58e77ebd769 | 17 | #include "mbed.h" |
Nathan Yonkee |
9:d58e77ebd769 | 18 | #include "FileSystemHandle.h" |
Nathan Yonkee |
9:d58e77ebd769 | 19 | #include <errno.h> |
Nathan Yonkee |
9:d58e77ebd769 | 20 | |
Nathan Yonkee |
9:d58e77ebd769 | 21 | int FileSystemHandle::open(DirHandle **dir, const char *path) |
Nathan Yonkee |
9:d58e77ebd769 | 22 | { |
Nathan Yonkee |
9:d58e77ebd769 | 23 | return -ENOSYS; |
Nathan Yonkee |
9:d58e77ebd769 | 24 | } |
Nathan Yonkee |
9:d58e77ebd769 | 25 | |
Nathan Yonkee |
9:d58e77ebd769 | 26 | int FileSystemHandle::remove(const char *path) |
Nathan Yonkee |
9:d58e77ebd769 | 27 | { |
Nathan Yonkee |
9:d58e77ebd769 | 28 | return -ENOSYS; |
Nathan Yonkee |
9:d58e77ebd769 | 29 | } |
Nathan Yonkee |
9:d58e77ebd769 | 30 | |
Nathan Yonkee |
9:d58e77ebd769 | 31 | int FileSystemHandle::rename(const char *path, const char *newpath) |
Nathan Yonkee |
9:d58e77ebd769 | 32 | { |
Nathan Yonkee |
9:d58e77ebd769 | 33 | return -ENOSYS; |
Nathan Yonkee |
9:d58e77ebd769 | 34 | } |
Nathan Yonkee |
9:d58e77ebd769 | 35 | |
Nathan Yonkee |
9:d58e77ebd769 | 36 | int FileSystemHandle::stat(const char *path, struct stat *st) |
Nathan Yonkee |
9:d58e77ebd769 | 37 | { |
Nathan Yonkee |
9:d58e77ebd769 | 38 | return -ENOSYS; |
Nathan Yonkee |
9:d58e77ebd769 | 39 | } |
Nathan Yonkee |
9:d58e77ebd769 | 40 | |
Nathan Yonkee |
9:d58e77ebd769 | 41 | int FileSystemHandle::mkdir(const char *path, mode_t mode) |
Nathan Yonkee |
9:d58e77ebd769 | 42 | { |
Nathan Yonkee |
9:d58e77ebd769 | 43 | return -ENOSYS; |
Nathan Yonkee |
9:d58e77ebd769 | 44 | } |
Nathan Yonkee |
9:d58e77ebd769 | 45 | |
Nathan Yonkee |
9:d58e77ebd769 | 46 | int FileSystemHandle::statvfs(const char *path, struct statvfs *buf) |
Nathan Yonkee |
9:d58e77ebd769 | 47 | { |
Nathan Yonkee |
9:d58e77ebd769 | 48 | return -ENOSYS; |
Nathan Yonkee |
9:d58e77ebd769 | 49 | } |