I wonder if there are some API to get the current process\' command line arguments on Linux.
I guess I was terribly unclear. The real purpose of the question was a
Just use argc and argv. argv will be in the local encoding (which could be UTF-8), and from there you can convert to wchar_t (e.g. via mbtowc).
argc
argv
wchar_t
mbtowc