#include <cogent.h>
char* PT_PointFormat(
PT_pCPOINT point, char* format, char* buffer )
;
A point whose value should be formatted.
A printf-style format directive used to format the point value. Only the actual formatting directive, beginning with % and ending with one of [sfgGeEdicouxX] is acceptable. If this argument is NULL, then default formatting will be done.
A character buffer to be filled with the formatting result. It is the programmer's responsibility to ensure that the buffer is large enough to hold the formatted point value.
A pointer to the character following the formatting directive within the format string. This is useful for self-parsing a longer printf-style formatting string which contains literal strings and multiple point values.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.