PostgreSQL Source Code  git master
username.h
Go to the documentation of this file.
1 /*
2  * username.h
3  * lookup effective username
4  *
5  * Copyright (c) 2003-2024, PostgreSQL Global Development Group
6  *
7  * src/include/common/username.h
8  */
9 #ifndef USERNAME_H
10 #define USERNAME_H
11 
12 extern const char *get_user_name(char **errstr);
13 extern const char *get_user_name_or_exit(const char *progname);
14 
15 #endif /* USERNAME_H */
const char * progname
Definition: main.c:43
const char * get_user_name_or_exit(const char *progname)
Definition: username.c:74
const char * get_user_name(char **errstr)
Definition: username.c:31