phuang wrote: You are right. But the openharmony os sdk's header file doesn't have that function. It is so weird. I will ask openharmony community about the problem. https://github.com/llvm/llvm-project/pull/118193