Le samedi 6 d?cembre 2008, ? 18:39, Nicolas Martin a ?crit?: > Same on Ubuntu: > > $ ./getlgn > method 1 getuid : user=nicolas > method 2 geteuid: user=nicolas > $ sudo ./getlgn > [sudo] password for nicolas: > method 1 getuid : user=root > method 2 geteuid: user=root > > ? so it works fine with both functions. Why do you suggest "Yep, use getuid() instead of geteuid() if you want to avoid that."?
- [sane-devel] [sane-commit] CVS update of sane-backends (3 ... Julien BLACHE
- [sane-devel] [sane-commit] CVS update of sane-backend... Nicolas Martin
- [sane-devel] [sane-commit] CVS update of sane-bac... Julien BLACHE
- [sane-devel] [sane-commit] CVS update of sane... E. MARC
- [sane-devel] [sane-commit] CVS update of ... Nicolas Martin
- [sane-devel] [sane-commit] CVS updat... m. allan noah
- [sane-devel] [sane-commit] CVS updat... E. MARC
- [sane-devel] [sane-commit] CVS update of sane-backend... Louis Lagendijk