Home
last modified time | relevance | path

Searched refs:FilePtr (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dsend_file.c42 ADM_Send_file(FILE *FilePtr) in ADM_Send_file() argument
58 if (fseek(FilePtr, 0L, SEEK_END) == 0) { in ADM_Send_file()
59 FileLength = ftell(FilePtr); in ADM_Send_file()
60 rewind(FilePtr); in ADM_Send_file()
65 while ((fgets(ADM_Line, ADM_LINE_SIZE, FilePtr) != NULL) && in ADM_Send_file()
141 FilePos = ftell(FilePtr); in ADM_Send_file()
151 FilePos = ftell(FilePtr); in ADM_Send_file()
H A Ddownload.c55 FILE *FilePtr; in ADM_Process_download() local
81 if ((FilePtr = fopen(Filename, "r")) == NULL) { in ADM_Process_download()
89 if (ADM_Valid_srecord(FilePtr) != 0) { in ADM_Process_download()
174 if (ADM_Send_file(FilePtr) != 0) { in ADM_Process_download()
194 (void) fclose(FilePtr); in ADM_Process_download()
H A Dvalid_srecord.c58 ADM_Valid_srecord(FILE *FilePtr) in ADM_Valid_srecord() argument
66 if (fgets(Line, ADM_LINE_SIZE, FilePtr) == NULL) in ADM_Valid_srecord()
69 rewind(FilePtr); in ADM_Valid_srecord()
H A Dadm.h100 int ADM_Valid_srecord(FILE *FilePtr);
101 int ADM_Send_file(FILE *FilePtr);