#define fdev_get_udata(stream) \
	((stream)->udata) 

This macro retrieves a pointer to user defined data from a FILE stream object.