Prosoft-technology MVI69-ADM Manuel d'utilisateur Page 182

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 342
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 181
Application Development Function Library - ADM API MVI-ADM 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 182 of 342 ProSoft Technology, Inc.
February 20, 2013
ADM_GetStr
Syntax
int ADM_GetStr(ADMHANDLE adm_handle, char *buff, char *fbuff);
Parameters
adm_handle
Handle returned by previous call to ADM_Open
buff
pointer to source string buffer
fbuff
pointer to destination string buffer
Description
ADM_GetStr copies characters from the source buffer to the destination buffer.
White space at the start of the string is discarded. The function will copy up to 9
characters until a space is encountered.
adm_handle must be a valid handle returned from ADM_Open.
buff must be a pointer to a string buffer.
Fbuff must be a pointer to a string buffer.
Return Value
ADM_SUCCESS
The string has been successfully copied.
ADM_ERR_NOACCESS
adm_handle does not have access
Example
ADMHANDLE adm_handle;
char *src_buffer;
char *dest_buffer;
ADM_GetStr(adm_handle, src_buffer, dest_buffer);
See Also
ADM_GetVal (page 180)
ADM_GetChar (page 181)
ADM_Getc (page 184)
Vue de la page 181
1 2 ... 177 178 179 180 181 182 183 184 185 186 187 ... 341 342

Commentaires sur ces manuels

Pas de commentaire