delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/07/15:31:42

Posted-Date: Wed, 7 Jan 1998 21:48:26 +0200
Message-ID: <B0000113351@plovdiv.techno-link.com>
Comments: Authenticated sender is <istoykov AT plovdiv DOT techno-link DOT com>
From: "Ivo Stoykov" <istoykov AT plovdiv DOT techno-link DOT com>
Date: Wed, 7 Jan 1998 21:46:48 +0002
MIME-Version: 1.0
Subject: Help: what they are for?
Reply-To: istoykov AT plovdiv DOT techno-link DOT com
Newsgroups: comp.os.msdos.djgpp
Mail-To-News-Contact: postmaster AT nym DOT alias DOT net
Organization: mail2news AT nym DOT alias DOT net
Lines: 24
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello experts

I found two functions int libc which have only quoted (from info 
file) help. Unfortunately it is very unclear to me. Could 
somebody explain me more comprehensive what they are for? And what 
means 42 returned value?
Thank you
Ivo Stoykov
istoykov AT plovdiv DOT techno-link DOT com

/***** Quotation from: InfView - File: libc *****/

geteuid
Syntax	#include <unistd.h>
     		int geteuid(void);
Description - Gets the effective UID.

getgid
Syntax	#include <unistd.h>
		int getgid(void);
Description - Get the current group id.

For both Return Value is 42.
/***** End of Quotation from: InfView - File: libc *****/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019