gets is expected to disappear from a future version of the LSB; applications should call the fgets interface. [1]
gets is as specified in the Single UNIX Specification.
[1] | Programs that use gets are almost always vulnerable to overflowing the buffer supplied to gets. |