---
name: "pam_vinfo"
section: "3"
platform: "linux"
package: "libpam-doc"
version: "1.7.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux", "freebsd", "macos"]
url: "https://new.carta.tech/pam_info"
---

# pam\_vinfo(3)

display messages to the user

Part of [pam\_info(3)](/pam_info/3.md).

## NAME

pam\_info, pam\_vinfo - display messages to the user

## SYNOPSIS

```
#include <security/pam_ext.h>
```

**int pam\_info(pam\_handle\_t \****pamh***, const char \****fmt***,** *...***);**

**int pam\_vinfo(pam\_handle\_t \****pamh***, const char \****fmt***, va\_list** *args***);**

## DESCRIPTION

The **pam\_info** function prints messages through the conversation function to the user.

The **pam\_vinfo** function performs the same task as **pam\_info()** with the difference that it takes a set of arguments which have been obtained using the [**stdarg**(3)](/stdarg/3.md) variable argument list macros.

## RETURN VALUES

PAM\_BUF\_ERR

Memory buffer error.

PAM\_CONV\_ERR

Conversation failure.

PAM\_SUCCESS

Transaction was successful created.

PAM\_SYSTEM\_ERR

System error.

## SEE ALSO

[**pam**(7)](/pam/7.md)

## STANDARDS

The **pam\_info** and **pam\_vinfo** functions are Linux-PAM extensions.
