PXENV_FILE_CLOSE
[PXE FILE API]

FILE CLOSE. More...


Data Structures

struct  s_PXENV_FILE_CLOSE
 Parameter block for pxenv_file_close(). More...

Defines

#define PXENV_FILE_CLOSE   0x00e1
 PXE API function code for pxenv_file_close().

Typedefs

typedef struct s_PXENV_FILE_CLOSE PXENV_FILE_CLOSE_t

Functions

PXENV_EXIT_t pxenv_file_close (struct s_PXENV_FILE_CLOSE *file_close)
 FILE CLOSE.


Detailed Description

FILE CLOSE.

Define Documentation

#define PXENV_FILE_CLOSE   0x00e1

PXE API function code for pxenv_file_close().

Definition at line 1643 of file pxe_api.h.

Referenced by pxe_api_call().


Typedef Documentation

Definition at line 1651 of file pxe_api.h.


Function Documentation

PXENV_EXIT_t pxenv_file_close ( struct s_PXENV_FILE_CLOSE file_close  ) 

FILE CLOSE.

Parameters:
file_close Pointer to a struct s_PXENV_FILE_CLOSE
s_PXENV_FILE_CLOSE::FileHandle File handle
Return values:
PXENV_EXIT_SUCCESS File was closed
PXENV_EXIT_FAILURE File was not closed
s_PXENV_FILE_CLOSE::Status PXE status code

Definition at line 94 of file pxe_file.c.

References close(), DBG, s_PXENV_FILE_CLOSE::FileHandle, PXENV_EXIT_SUCCESS, PXENV_STATUS_SUCCESS, and s_PXENV_FILE_CLOSE::Status.

Referenced by pxe_api_call().

00094                                                                         {
00095 
00096         DBG ( "PXENV_FILE_CLOSE %d", file_close->FileHandle );
00097 
00098         close ( file_close->FileHandle );
00099         file_close->Status = PXENV_STATUS_SUCCESS;
00100         return PXENV_EXIT_SUCCESS;
00101 }


Generated on Tue Apr 6 20:01:59 2010 for gPXE by  doxygen 1.5.7.1