Lines Matching defs:comment
997 * comment const char * Extra information such as timestamps will
1009 int _glh_save_history(GlHistory *glh, const char *filename, const char *comment,
1025 if(!glh || !filename || !comment) {
1051 * specified comment string.
1055 * Write peripheral information associated with the line, as a comment.
1057 if(fprintf(fp, "%s ", comment) < 0 ||
1146 * comment const char * The same comment string that was passed to
1155 int _glh_load_history(GlHistory *glh, const char *filename, const char *comment,
1165 size_t comment_len; /* The length of the comment string */
1173 if(!glh || !filename || !comment || !line) {
1180 * Measure the length of the comment string.
1182 comment_len = strlen(comment);
1201 * Check that the line starts with the comment string.
1203 if(strncmp(line, comment, comment_len) != 0) {
1208 * Skip spaces and tabs after the comment.