Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
vswprintf の代わりに vswprintf_l を使用するケースを知っている人はいますか?
ありがとう
違いはvswprintf_l、型の追加の引数をlocale_t最後に 1 つ取ることです。vswprintf_lこれは、現在設定されているロケールではなく、指定されたロケールを使用して呼び出すことができることを意味します。locale_tC ロケールの引数として NULL を渡すと、使用されます。
vswprintf_l
locale_t