SW500009 Microchip Technology, SW500009 Datasheet - Page 253

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
Library Functions
SPRINTF
Synopsis
Description
The sprintf() function operates in a similar fashion to printf(), except that instead of placing the
converted output on the stdout stream, the characters are placed in the buffer at buf. The resultant
string will be null terminated, and the number of characters in the buffer will be returned.
See Also
printf()
Return Value
The sprintf() routine returns the number of characters placed into the buffer.
NB: The return value is a char not an int.
Note
For High-end processors the buffer is accessed via a far pointer.
#include <stdio.h>
/* For baseline and midrange processors */
unsigned char sprintf (char *buf, const char * fmt, ...)
/* For high-end processors */
unsigned char sprintf (far char *buf, const char * fmt, ...)
239

Related parts for SW500009