I did not initially find the inkey() function documentation because it is in the string manipulation section of the manual instead of the input/output section. The input/output section would be a more logical place to put this.