MCPcopy Create free account
hub / github.com/OpenPrinting/cups / cupsUser

Function cupsUser

cups/usersys.c:693–703  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691 */
692
693const char * /* O - User name */
694cupsUser(void)
695{
696 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */
697
698
699 if (!cg->user[0])
700 _cupsSetDefaults();
701
702 return (cg->user);
703}
704
705
706/*

Callers 15

dsc_headerFunction · 0.85
pdf_to_psFunction · 0.85
list_serviceFunction · 0.85
do_monitor_printer_stateFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
print_jobFunction · 0.85
show_jobsFunction · 0.85
mainFunction · 0.85
add_printer_to_classFunction · 0.85
default_printerFunction · 0.85
delete_printerFunction · 0.85

Calls 2

_cupsGlobalsFunction · 0.85
_cupsSetDefaultsFunction · 0.85

Tested by 4

mainFunction · 0.68
print_jobFunction · 0.68
monitor_printerFunction · 0.68
run_clientFunction · 0.68