[PATCH openEuler-22.03-LTS 1/4] seq_buf: Add seq_buf_terminate() API