]> Kevux Git Server - fll/blob
23f6cbd34a22cf69dab7958c7d5be3990c1187c2
[fll] /
1 .TH status_code_print_error_cannot_error_warning_number 3 "3" "January 2026" "FLL - Status Code 0.8.0" "Program Functions"
2 .SH "NAME"
3 status_code_print_error_cannot_error_warning_number \-
4 .SH SYNOPSIS
5 .nf
6 .B #include <error.h>
7 .sp
8 \fBf_status_t status_code_print_error_cannot_error_warning_number\fP(
9     \fBfl_print_t *const \fP\fIprint\fP
10 );
11 .fi
12 .SH DESCRIPTION
13 .PP
14 Print an error message when error parameter and warning parameter are specified without number parameter.
15 .PP
16 This does not alter print.custom.setting.state.status.
17 .PP
18 F_output_not (with error bit) if setting is NULL.
19 .SH PARAMETERS
20 .TP
21 .B print
22 The output structure to print to.
23
24 .SH STRUCTURES
25 .SS ""
26 .PP
27 .sp
28 .PP
29 Structure for facilitating colored or other managed printing.
30 .PP
31 custom: A pointer to a data structure determined by some caller for more advanced manipulation.
32 .sp
33 .RS
34 .nf
35 \fB
36 struct fl_print_t {
37   f_file_t                \fIto\fP;
38   uint8_t                 \fIverbosity\fP;
39   uint64_t                \fIflag\fP;
40   f_string_static_t       \fIprefix\fP;
41   f_string_static_t       \fIsuffix\fP;
42   f_color_set_t           \fIcontext\fP;
43   f_color_set_t           \fInotable\fP;
44   f_color_set_context_t  *\fIset\fP;
45   void                   *\fIcustom\fP;
46 };
47 \fP
48 .fi
49 .RE
50 .SH RETURN VALUE
51 .PP
52 F_okay on success. F_output_not on success, but no printing is performed.
53 .SH SEE ALSO
54 .PP
55 .nh
56 .ad l
57 \fIerror.h\fP(3), \fIstatus_code_print_error\fP(3), \fIstatus_code_print_error_cannot_error_warning_number\fP(3), \fIstatus_code_print_error_invalid_callback\fP(3), \fIstatus_code_print_error_no_status_codes\fP(3), \fIf_file_stream_lock()\fP, \fIf_file_stream_unlock()\fP, \fIfl_print_format()\fP
58 .ad
59 .hy
60 .SH AUTHOR
61 Written by Kevin Day.
62 .SH COPYRIGHT
63 .PP
64 Copyright \(co 2007-2026 Kevin Day, GNU LGPL Version 2.1 or later.