11-07-2003
Add more icon for logout
Suggestion:
Can all pages add a icon for logout? I just found that only the main page has it.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Experts
I have made an Icon and now I am going to change a file Icon to new one. I am using Solaris 8.
1- What is the best format to save an Icon
2- How can I change the Icon of a certain type or just one file or folder to the new Icon which I have designed.
Any advises would be highly... (1 Reply)
Discussion started by: Reza Nazarian
1 Replies
2. UNIX for Dummies Questions & Answers
Dear Gurus,
I have a question.
I have juz created an icon for my user.
When I try to run the application (ie double-click) there are nothing being activated.
This is the content of the TEST_APP.dt
ACTION TEST_APP
{
LABEL TEST_APP
TYPE COMMAND
... (0 Replies)
Discussion started by: lweegp
0 Replies
3. AIX
Hi,
I'm using xterm and aixterm with Mwm on AIX, and having trouble controlling icon placement when minimising windows. Basically when I run an xterm or aixterm I want to be able to specify where the icon will be if minimised.
The man page mentions the "#geometry Geometry" option to aixterm,... (1 Reply)
Discussion started by: cunningdavid
1 Replies
4. UNIX Desktop Questions & Answers
Hi,
I'm using xterm and aixterm with Mwm on AIX, and having trouble controlling icon placement when minimising windows. Basically when I run an xterm or aixterm I want to be able to specify where the icon will be if minimised.
The man page mentions the "#geometry Geometry" option to aixterm,... (1 Reply)
Discussion started by: cunningdavid
1 Replies
5. Post Here to Contact Site Administrators and Moderators
Hi,
I just observed we have a new icon (the "ULF" thing) for the forum.
Its really nice to see continuous changes to make things better; whether it's small or big.
Appreciations to all moderators and admins.
Regards,
Anchal Khare (2 Replies)
Discussion started by: clx
2 Replies
6. UNIX for Dummies Questions & Answers
up graded lost log out power off icon how reinstall:wall: (2 Replies)
Discussion started by: flight
2 Replies
7. Shell Programming and Scripting
I have an application that runs through bash shell and i want to change the shell icon , so when i copy my application to another computer the shell can still run , can i do that ? because i try with .desktop its failed (0 Replies)
Discussion started by: caladblog
0 Replies
LOGIN(3) Linux Programmer's Manual LOGIN(3)
NAME
login, logout - write utmp and wtmp entries
SYNOPSIS
#include <utmp.h>
void login(const struct utmp *ut);
int logout(const char *ut_line);
Link with -lutil.
DESCRIPTION
The utmp file records who is currently using the system. The wtmp file records all logins and logouts. See utmp(5).
The function login() takes the supplied struct utmp, ut, and writes it to both the utmp and the wtmp file.
The function logout() clears the entry in the utmp file again.
GNU Details
More precisely, login() takes the argument ut struct, fills the field ut->ut_type (if there is such a field) with the value USER_PROCESS,
and fills the field ut->ut_pid (if there is such a field) with the process ID of the calling process. Then it tries to fill the field
ut->ut_line. It takes the first of stdin, stdout, stderr that is a tty, and stores the corresponding pathname minus a possible leading
/dev/ into this field, and then writes the struct to the utmp file. On the other hand, if no tty name was found, this field is filled with
"???" and the struct is not written to the utmp file. After this, the struct is written to the wtmp file.
The logout() function searches the utmp file for an entry matching the ut_line argument. If a record is found, it is updated by zeroing
out the ut_name and ut_host fields, updating the ut_tv timestamp field and setting ut_type (if there is such a field) to DEAD_PROCESS.
RETURN VALUE
The logout() function returns 1 if the entry was successfully written to the database, or 0 if an error occurred.
FILES
/var/run/utmp
user accounting database, configured through _PATH_UTMP in <paths.h>
/var/log/wtmp
user accounting log file, configured through _PATH_WTMP in <paths.h>
CONFORMING TO
Not in POSIX.1-2001. Present on the BSDs.
NOTES
Note that the member ut_user of struct utmp is called ut_name in BSD. Therefore, ut_name is defined as an alias for ut_user in <utmp.h>.
SEE ALSO
getutent(3), utmp(5)
COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU
2004-05-06 LOGIN(3)