mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Committer:
AnnaBridge
Date:
Fri Feb 16 16:09:33 2018 +0000
Revision:
181:57724642e740
Parent:
167:e84263d55307
Child:
184:08ed48f1de7f
mbed-dev library. Release version 159.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 167:e84263d55307 1 /* mbed Microcontroller Library
AnnaBridge 167:e84263d55307 2 * Copyright (c) 2006-2013 ARM Limited
AnnaBridge 167:e84263d55307 3 *
AnnaBridge 167:e84263d55307 4 * Licensed under the Apache License, Version 2.0 (the "License");
AnnaBridge 167:e84263d55307 5 * you may not use this file except in compliance with the License.
AnnaBridge 167:e84263d55307 6 * You may obtain a copy of the License at
AnnaBridge 167:e84263d55307 7 *
AnnaBridge 167:e84263d55307 8 * http://www.apache.org/licenses/LICENSE-2.0
AnnaBridge 167:e84263d55307 9 *
AnnaBridge 167:e84263d55307 10 * Unless required by applicable law or agreed to in writing, software
AnnaBridge 167:e84263d55307 11 * distributed under the License is distributed on an "AS IS" BASIS,
AnnaBridge 167:e84263d55307 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
AnnaBridge 167:e84263d55307 13 * See the License for the specific language governing permissions and
AnnaBridge 167:e84263d55307 14 * limitations under the License.
AnnaBridge 167:e84263d55307 15 */
AnnaBridge 167:e84263d55307 16
AnnaBridge 167:e84263d55307 17 #include "mbed.h"
AnnaBridge 167:e84263d55307 18 #include "FileSystemHandle.h"
AnnaBridge 167:e84263d55307 19 #include <errno.h>
AnnaBridge 167:e84263d55307 20
AnnaBridge 167:e84263d55307 21 int FileSystemHandle::open(DirHandle **dir, const char *path)
AnnaBridge 167:e84263d55307 22 {
AnnaBridge 167:e84263d55307 23 return -ENOSYS;
AnnaBridge 167:e84263d55307 24 }
AnnaBridge 167:e84263d55307 25
AnnaBridge 167:e84263d55307 26 int FileSystemHandle::remove(const char *path)
AnnaBridge 167:e84263d55307 27 {
AnnaBridge 167:e84263d55307 28 return -ENOSYS;
AnnaBridge 167:e84263d55307 29 }
AnnaBridge 167:e84263d55307 30
AnnaBridge 167:e84263d55307 31 int FileSystemHandle::rename(const char *path, const char *newpath)
AnnaBridge 167:e84263d55307 32 {
AnnaBridge 167:e84263d55307 33 return -ENOSYS;
AnnaBridge 167:e84263d55307 34 }
AnnaBridge 167:e84263d55307 35
AnnaBridge 167:e84263d55307 36 int FileSystemHandle::stat(const char *path, struct stat *st)
AnnaBridge 167:e84263d55307 37 {
AnnaBridge 167:e84263d55307 38 return -ENOSYS;
AnnaBridge 167:e84263d55307 39 }
AnnaBridge 167:e84263d55307 40
AnnaBridge 167:e84263d55307 41 int FileSystemHandle::mkdir(const char *path, mode_t mode)
AnnaBridge 167:e84263d55307 42 {
AnnaBridge 167:e84263d55307 43 return -ENOSYS;
AnnaBridge 167:e84263d55307 44 }