04-17-2012
Indeed, and the single Unix specification is encompassing the POSIX standards.
10 More Discussions You Might Find Interesting
1. Programming
Hi all:
I would like to get some details about development using C++ on TRUE Unix platform.
Can anyone help me ??
Thanks,
-Mandar (2 Replies)
Discussion started by: mandar3
2 Replies
2. Programming
Dear Export,
I want to begin an serial-communication application codes associated with TTY devices. But I don't know what key settings should be concerned after opening a TTY device file under UNIX plarform(SunOS 5.7)?
Could you give me some adivce? Thanks! (8 Replies)
Discussion started by: WayneYang
8 Replies
3. UNIX for Advanced & Expert Users
Can anybody help me in finding out a solution for the problem below?
When we write .unix or .sh files in windows OS and port them to Unix platforms there is a character ^M inserted at the end of each line of the script file.
During ftp porting I set the transfer mode as ASCII for the script... (7 Replies)
Discussion started by: tamilselvi
7 Replies
4. UNIX for Dummies Questions & Answers
I'm a completely noob to Unix. I have previously managed quite well Windows OS's but never Unix.
-My question is quite simple:
I've been investigating what's the easiest and most complex Unix OS. However, it seems there are quite a couple of OS's from which to choose, like: -Darwin
... (3 Replies)
Discussion started by: justanoob
3 Replies
5. Programming
Hi all,
How does one get the platform type in UNIX (for e.g. sparc/i386)? I need an function call and not the command like uname -p.
thanks! (24 Replies)
Discussion started by: slash_blog
24 Replies
6. UNIX for Dummies Questions & Answers
i have to select particular fields from a multiple line record.
my record is in dump.txt file and looks like this
*******************
tipo = abonado simplex, Idiomas = dic1 - none, Operador = estandar
Serv. portadora admitido: modem
ind = 0 numero telefonico = 79260960, att = 0... (1 Reply)
Discussion started by: junaid.nehvi
1 Replies
7. UNIX for Dummies Questions & Answers
Just wonder about this question everytime that how many of us use unix as desktop and prefers which unix platform as desktop.
- nilesh (4 Replies)
Discussion started by: ynilesh
4 Replies
8. UNIX for Dummies Questions & Answers
I was able to convert my csv file in Unix to xls. I would like to export the converted xls file to a windows environment. I have to manually connect using the following below:
ftp: 192.x.x.x -> username/pass -> cd -> mget *.xls and then confirm.
Could I automate this process into a shell... (4 Replies)
Discussion started by: ravzter
4 Replies
9. Programming
Hi
can any body post example for socket tcpclient in c++ act like browser with HTTp 1.1 and send message for the server (2 Replies)
Discussion started by: Net Star
2 Replies
10. UNIX for Advanced & Expert Users
How do you see plots produced in R under UNIX platform?
Thanks! (2 Replies)
Discussion started by: johnkim0806
2 Replies
getuid(2) System Calls Manual getuid(2)
NAME
getuid, geteuid - Gets the real or effective user ID
SYNOPSIS
#include <unistd.h>
uid_t getuid( void );
uid_t geteuid( void );
Application developers may want to specify an #include statement for <sys/types.h> before the one for <unistd.h> if programs are being
developed for multiple platforms. The additional #include statement is not required on Tru64 UNIX systems or by ISO or X/Open standards,
but may be required on other vendors' systems that conform to these standards.
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
getuid(): POSIX.1, XPG4, XPG4-UNIX
Refer to the standards(5) reference page for more information about industry standards and associated tags.
DESCRIPTION
The getuid() function returns the real user ID of the calling process.
The geteuid() function returns the effective user ID of the calling process.
RELATED INFORMATION
Functions: setuid(2), setruid(3), setreuid(2)
Standards: standards(5) delim off
getuid(2)