Because usually that is OS specific and not portable to be part of standard library that is supposed to work everywhere.