cuserid.3 (68946) | cuserid.3 (68994) |
---|---|
1.\" 2.\" Copyright (c) 1995 Joerg Wunsch 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 15 unchanged lines hidden (view full) --- 24.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 25.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31.\" | 1.\" 2.\" Copyright (c) 1995 Joerg Wunsch 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 15 unchanged lines hidden (view full) --- 24.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 25.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31.\" |
32.\" $FreeBSD: head/lib/libcompat/4.4/cuserid.3 68946 2000-11-20 14:11:46Z ru $ | 32.\" $FreeBSD: head/lib/libcompat/4.4/cuserid.3 68994 2000-11-21 12:03:30Z ben $ |
33.\" 34.Dd April 10, 1995 35.Os 36.Dt CUSERID 3 37.Sh NAME 38.Nm cuserid 39.Nd get user name associated with effective UID | 33.\" 34.Dd April 10, 1995 35.Os 36.Dt CUSERID 3 37.Sh NAME 38.Nm cuserid 39.Nd get user name associated with effective UID |
40.Sh LIBRARY 41.Lb libcompat |
|
40.Sh SYNOPSIS 41.Fd #include <stdio.h> 42.Ft char * 43.Fn cuserid "char *s" 44.Sh DESCRIPTION 45.Bf -symbolic 46The 47.Fn cuserid 48function is made obsolete by 49.Xr getpwuid 3 . | 42.Sh SYNOPSIS 43.Fd #include <stdio.h> 44.Ft char * 45.Fn cuserid "char *s" 46.Sh DESCRIPTION 47.Bf -symbolic 48The 49.Fn cuserid 50function is made obsolete by 51.Xr getpwuid 3 . |
50It is available from the compatibility library, libcompat. | |
51.Ef 52.Pp 53The function 54.Fn cuserid 55gets the user name associated with the effective UID of the current 56process. If the argument 57.Fa s 58is non-NULL, the name is copied to the buffer it points to, --- 27 unchanged lines hidden --- | 52.Ef 53.Pp 54The function 55.Fn cuserid 56gets the user name associated with the effective UID of the current 57process. If the argument 58.Fa s 59is non-NULL, the name is copied to the buffer it points to, --- 27 unchanged lines hidden --- |