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-2025, PostgreSQL Global Development Group
6 *
7 * src/include/common/username.h
8 */
9#ifndef USERNAME_H
10#define USERNAME_H
11
12extern const char *get_user_name(char **errstr);
13extern const char *get_user_name_or_exit(const char *progname);
14
15#endif /* USERNAME_H */
const char * progname
Definition: main.c:44
const char * get_user_name(char **errstr)
Definition: username.c:31
const char * get_user_name_or_exit(const char *progname)
Definition: username.c:74