SW006013 Microchip Technology, SW006013 Datasheet - Page 199

MPLAB C Compiler For DsPIC DSCs

SW006013

Manufacturer Part Number
SW006013
Description
MPLAB C Compiler For DsPIC DSCs
Manufacturer
Microchip Technology
Series
DsPIC30F/33Fr
Type
MPLAB® C Compilerr
Datasheet

Specifications of SW006013

Supported Families
DsPIC30F, DsPIC33F
Core Architecture
DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
DsPIC30F And DsPIC33F
Tool Function
Compiler
Tool Type
Compiler
Processor Series
dsPIC
Lead Free Status / RoHS Status
na
For Use With/related Products
dSPIC DSCs
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
© 2008 Microchip Technology Inc.
write
Description:
Include:
Prototype:
Argument:
Return Value:
Remarks:
Default Behavior:
File:
Write data to a file.
None
int write(int handle, void *buffer,
handle
buffer
count
If successful, write returns the number of characters actually written. A
return value of ‘-1’ indicates an error.
If the actual space remaining on the disk is less than the size of the
buffer the function is trying to write to the disk, write fails and does not
flush any of the buffer's contents to the disk. If the file is opened in text
mode, each linefeed character is replaced with a carriage return – line-
feed pair in the output. The replacement does not affect the return
value.
This is a helper function called by the Standard C Library function
fflush().
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.
write.c
unsigned int count);
refers to an opened file
points to the storage location of data to be written
the number of characters to write.
DS51456E-page 195

Related parts for SW006013