SW006014 Microchip Technology, SW006014 Datasheet - Page 200

C COMPILER MPLAB FOR PIC24 MCU

SW006014

Manufacturer Part Number
SW006014
Description
C COMPILER MPLAB FOR PIC24 MCU
Manufacturer
Microchip Technology
Type
MPLAB® C Compilerr
Series
PIC24r
Datasheet

Specifications of SW006014

Supported Families
PIC24
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24
Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC24
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
4.4
DS51456E-page 196
STANDARD C LIBRARY FUNCTIONS THAT REQUIRE MODIFICATION
Although these functions are part of the standard C library, the object modules are
distributed in the
available in the
libc-
getenv
Description:
Include:
Prototype:
Argument:
Return Value:
Default Behavior:
File:
remove
Description:
Include:
Prototype:
Argument:
Return Value:
Default Behavior:
File:
rename
Description:
Include:
Prototype:
Argument:
Return Value:
Default Behavior:
File:
system
Description:
Include:
Prototype:
Argument:
omf
.a
.
src\pic30
libpic30-
Get a value for an environment variable
<stdlib.h>
char *getenv(const char *s);
s
Returns a pointer to the value of the environment variable if successful;
otherwise, returns a null pointer.
As distributed, this function returns a null pointer. There is no support
for environment variables.
getenv.c
Remove a file.
<stdio.h>
int remove(const char *filename);
filename
Returns ‘0’ if successful, ‘-1’ if unsuccessful.
As distributed, the parameters are passed to the host file system
through the simulator. The return value is the value returned by the host
file system.
remove.c
Rename a file or directory.
<stdio.h>
int rename(const char *oldname, const char
oldname
newname
Returns ‘0’ if it is successful. On an error, the function returns a
non-zero value.
As distributed, the parameters are passed to the host file system
through the simulator. The return value is the value returned by the host
file system.
rename.c
Execute a command.
<stdlib.h>
int system(const char *s);
s
*newname);
name of environment variable
command to be executed.
folder. These modules are not distributed as part of
omf
.a
file to be removed
pointer to the old name
pointer to the new name
archive and the source code (for the compiler) is
© 2008 Microchip Technology Inc.

Related parts for SW006014