glutAddSubMenu

Hi Everyone,
Can anyone help me out how the glutAddSubMenu function works? A sample code would help a lot…

Thanks:

B".