O nás     Inzerce     KontaktSpolehlivé informace o IT již od roku 2011
Hledat
Nepřehlédněte: Usnadní vám práci: Pozoruhodné IT produkty pro rok 2024
Správa dokumentů
Digitální transformace
Informační systémy
Hlavní rubriky: Informační systémy, Mobilní technologie, Datová centra, Sítě, IT bezpečnost, Software, Hardware, Zkušenosti a názory, Speciály

Pozoruhodné IT produkty 2024
E-knihy o IT zdarma
Manuál Linux
[Linux manuál]

getusershell, setusershell, endusershell: získejte legální skořápky uživatelů

Originální popis anglicky: getusershell, setusershell, endusershell - get legal user shells

Návod, kniha: Linux Programmer's Manual

STRUČNĚ

#include <unistd.h>
 
char *getusershell(void);
 
void setusershell(void);
 
void endusershell(void);

POPIS / INSTRUKCE

The getusershell() function returns the next line from the file /etc/shells, opening the file if necessary. The line should contain the pathname of a valid user shell. If /etc/shells does not exist or is unreadable, getusershell() behaves as if /bin/sh and /bin/csh were listed in the file.
The setusershell() function rewinds /etc/shells.
The endusershell() function closes /etc/shells.

NÁVRATOVÁ HODNOTA

The getusershell() function returns a NULL pointer on end-of-file.

FILES

/etc/shells

ODPOVÍDAJÍCÍ

BSD 4.3

SOUVISEJÍCÍ

shells(5)
1993-07-04 BSD
©2011-2024 BusinessIT.cz, ISSN 1805-0522 | Názvy použité v textech mohou být ochrannými známkami příslušných vlastníků.
Provozovatel: Bispiral, s.r.o., kontakt: BusinessIT(at)Bispiral.com | Inzerce: Best Online Media, s.r.o., zuzana@online-media.cz
O vydavateli | Pravidla webu BusinessIT.cz a ochrana soukromí | Používáme účetní program Money S3 | pg(9084)