UART flow control Example code

Dear,

Could you let me get an example code for UART flow control?

Thanks,