Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/runtime/c-libs/posix-procenv/getegid.c
ViewVC logotype

Annotation of /sml/trunk/src/runtime/c-libs/posix-procenv/getegid.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (view) (download) (as text)

1 : monnier 249 /* getegid.c
2 :     *
3 :     * COPYRIGHT (c) 1995 by AT&T Bell Laboratories.
4 :     */
5 :    
6 :     #include <unistd.h>
7 :     #include "ml-objects.h"
8 :     #include "cfun-proto-list.h"
9 :    
10 :     /* _ml_P_ProcEnv_getegid: unit -> word
11 :     *
12 :     * Return effective group id
13 :     */
14 :     ml_val_t _ml_P_ProcEnv_getegid (ml_state_t *msp, ml_val_t arg)
15 :     {
16 :     ml_val_t p;
17 :    
18 :     WORD_ALLOC (msp, p, (Word_t)(getegid()));
19 :     return p;
20 :    
21 :     } /* end of _ml_P_ProcEnv_getegid */
22 :    

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0