N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

   

LeoClearQueue

Format
#include <leo.h>
s32 LeoClearQueue(void);


What This Function Does
It clears the Leo Manager�s command queue. Commands that are in the midst of execution continue to execute unchanged. LEO_ERROR_COMMAND_TERMINATED is returned when all the commands are cleared from the queue. This function usually has a normal termination, so you don't need to check for the returned value.

Possible returned values are:
  • -1 which means Leo Manager has not started yet.
  • LEO_ERROR_GOOD which means normal execution occurred. A normal termination is returned even when there are no messages waiting in the command queue.
See Also
Leo
LeoCreateLeoManager
LeoReadWrite
LeoSeek
LeoSpdlMotor
LeoInquiry
LeoTestUnitReady
LeoRezero
LeoReadDiskID
LeoReadCapacity
LeoReset



Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.

Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998