Command Prompt for Windows

putx, _putwx, _puttx

void putx(char *s, int len);
void _putwx(wchar_t *s, int len);
void _puttx(TCHAR *s, int len);

Display len characters contained in a string s.

Parameter Description
s Address of a sequence of characters.
len A value that specifies the number of characters to be displayed.


There is no return value.


Function putx() is streamable, that is, when stdout is redirected on the command line to a file, the characters will be written to the file.

Tab characters are padded with space characters.

There is no CR-LF character combination appended to the end of the characters displayed.

The string does not need to be NULL terminated.

See Also

printf, puts, putchar, putch, gets