Contains the value specified by the Host parameter, or the local hostname if the Host parameter is a null value. Indicates the number of unsuccessful login attempts. The loginfailed subroutine increments this attribute by one for each failed attempt. A login failure audit record is cut to indicate that an unsuccessful login attempt occurred. Parameters User Specifies the user's login name who has unsuccessfully attempted to login.
Host Specifies the name of the host from which the user attempted to login.
If the Host parameter is Null, the name of the local host is used. Tty Specifies the name of the terminal on which the user attempted to login. Upon successful completion, the loginfailed subroutine returns a value of 0. If an error occurs, a value of -1 is returned and errno is set to indicate the error. The current process does not have access to the user or port database.