2.3.5 fdev_set_udata

fdev_set_udata(stream, u)

This macro inserts a pointer to user defined data into a FILE stream object.

The user data can be useful for tracking state in the put and get functions supplied to the fdevopen() function.