FSchdirpgm Function

MDD File System Interface Library

MDDFS Interface Library Help
FSchdirpgm Function
C
int FSchdirpgm(
    const rom char * path
);
Description

Changes the CWD to the input path on PIC18.The FSchdirpgm function passes a PIC18 ROM path pointer to the chdirhelper function.

Preconditions

None

Parameters
Parameters 
Description 
path 
The path of the directory to change to (ROM) 
Return Values
Return Values 
Description 
The current working directory was changed successfully 
EOF 
The current working directory could not be changed 
Side Effects

The current working directory may be changed. The FSerrno variable will be changed.

Remarks

This function is for use with PIC18 when passing arguments in ROM

Microchip MDD File System Interface 1.4.2 - [Oct 15, 2012]
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.