Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
693
const char * /* O - User name */
694
cupsUser(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_header
Function · 0.85
pdf_to_ps
Function · 0.85
list_service
Function · 0.85
do_monitor_printer_state
Function · 0.85
main
Function · 0.85
main
Function · 0.85
print_job
Function · 0.85
show_jobs
Function · 0.85
main
Function · 0.85
add_printer_to_class
Function · 0.85
default_printer
Function · 0.85
delete_printer
Function · 0.85
Calls
2
_cupsGlobals
Function · 0.85
_cupsSetDefaults
Function · 0.85
Tested by
4
main
Function · 0.68
print_job
Function · 0.68
monitor_printer
Function · 0.68
run_client
Function · 0.68