/*++ /* NAME /* clean_ascii_cntrl_space 3h /* SUMMARY /* censor control characters and normalize whitespace /* SYNOPSIS /* #include <clean_ascii_cntrl_space.h> /* /* char *clean_ascii_cntrl_space( /* VSTRING *result, /* const char *str, /* ssize_t len) /* DESCRIPTION /* clean_ascii_cntrl_space() sanitizes input by replacing ASCII /* control characters with ASCII SPACE, by replacing a sequence /* of multiple ASCII SPACE characters with one ASCII SPACE, and by /* eliminating leading and trailing ASCII SPACE. /* /* The result value is a pointer to the result buffer's string /* content, or null when no output was generated (for example /* all input characters were ASCII SPACE, or were replaced with /* ASCII SPACE). /* /* Arguments: /* .IP result /* The buffer that the output will overwrite. The result is /* null-terminated. /* .IP str /* Pointer to input storage. /* .IP len /* The number of input bytes. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* porcupine.org
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.