Get device's name

Is there an SDL function to get your device’s name? For example on iOS you can call:

[[UIDevice currentDevice] name]

I’m writing a networkable game and I use the device name so the other players can see who is who.

I guess not then :frowning: Maybe this would be a good addition for the future?

I’ve found code for getting your device’s name on Android at java - Get Android Device Name - Stack Overflow so I’ll have a go at using that for now.

This may be needed, feel free to provide a patch !
This could be added to SDL_misc.h