Adic Server Manual do Utilizador Página 138

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 218
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 137
4-96 DAS ACI Functions
601626-B
aci_perror
The aci_perror function writes DAS error text to standard
error. See Figure 4-86.
Figure 4-86 aci_perror Function Call
The aci_perror function writes an error message to the
standard error device, describing the last error encountered.
The error message is either returned by the DAS server, or if
not available, the error message is selected according to the
value stored in d_errno.The parameter error_prefix is
attached to the message. See Table 4-37.
See Figure 4-87 for an example of the aci_perror function.
Figure 4-87 Example of the aci_perror Function
Table 4-37 Parameter for the aci_perror Function Call
Parameter Description
Error_prefix message (error, warning or information) stored in d_errno
#include "aci.h"
int aci_perror( char *error_prefix )
/* Write DAS error message with usr text prepended */
if ( d_errno )
{
aci_perror( "This text is prepended: " );
}
Vista de página 137
1 2 ... 133 134 135 136 137 138 139 140 141 142 143 ... 217 218

Comentários a estes Manuais

Sem comentários