StdLib: Clarify and improve comments.
Indentation has been corrected in all of the files. LibC/Locale/multibyte_Utf8.c LibC/Uefi/SysCalls.c Clarify and improve comments. Include/sys/termios.h Add parameter names to function prototypes as referenced in the comments. StdLibPrivateInternalFiles\Include\kfile.h Add comment for the fo_close fileop. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19588 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
darylm503
parent
4e8f2b290e
commit
450ea6d5b6
@@ -102,7 +102,13 @@ struct __filedes {
|
||||
|
||||
struct fileops {
|
||||
/* These functions must always be implemented. */
|
||||
|
||||
/** Perform device specific operations for closing the device.
|
||||
It is the responsibility of this function to flush or discard
|
||||
buffer contents.
|
||||
**/
|
||||
int (EFIAPI *fo_close) (struct __filedes *filp);
|
||||
|
||||
ssize_t (EFIAPI *fo_read) (struct __filedes *filp, off_t *Offset, size_t Len, void *Buf);
|
||||
ssize_t (EFIAPI *fo_write) (struct __filedes *filp, off_t *Offset, size_t Len, const void *Buf);
|
||||
|
||||
@@ -123,7 +129,7 @@ struct fileops {
|
||||
off_t (EFIAPI *fo_lseek) (struct __filedes *filp, off_t, int);
|
||||
};
|
||||
|
||||
/* A generic instance structure which is valid for
|
||||
/* A generic instance structure which is valid
|
||||
for all device instance structures.
|
||||
|
||||
All device instance structures MUST be a multiple of 8-bytes in length.
|
||||
|
Reference in New Issue
Block a user