getusershell

Autres langues

Langue: ja

Version: 1993-07-04 (openSuse - 09/10/07)

Section: 3 (Bibliothèques de fonctions)

̾Á°

getusershell, setusershell, endusershell - ÀµÅö¤Ê¥æ¡¼¥¶¥·¥§¥ë¤òÆÀ¤ë

½ñ¼°


#include <unistd.h>



char *getusershell(void);



void setusershell(void);



void endusershell(void);

ÀâÌÀ

getusershell() ´Ø¿ô¤Ï /etc/shells ¥Õ¥¡¥¤¥ë¤«¤é (³«¤¯É¬Íפ¬¤¢¤ì¤Ð¤³¤Î¥Õ¥¡¥¤¥ë¤ò³«¤¤¤Æ¤«¤é) ¸½ºß¹Ô¤Î¼¡¤Î°ì¹Ô¤òÊÖ¤¹¡£ ÊÖ¤µ¤ì¤¿¹Ô¤ÎÃæ¿È¤ÏÍ­¸ú¤Ê¥æ¡¼¥¶¥·¥§¥ë¤Î¤¦¤Á¤Î°ì¤Ä¤Î¥Ñ¥¹Ì¾¤Ç¤¢¤ë¡£ (ÌõÃí. °ì¹Ô¤ËÉÕ¤­°ì¤Ä¤Î¥·¥§¥ë¤Î¥Ñ¥¹Ì¾¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£) ¤â¤· /etc/shells ¤¬Â¸ºß¤·¤Ê¤¤¤«¡¢Æɤ߹þ¤ßÉԲĤξì¹ç¤Ë¤Ï¡¢ getusershell() ¤Ï /bin/sh ¤È /bin/csh ¤¬¥Õ¥¡¥¤¥ë¤Ëµ­¤µ¤ì¤Æ¤¤¤ë¤«¤Î¤è¤¦¤Ë¤Õ¤ë¤Þ¤¦¡£

setusershell() ´Ø¿ô¤Ï /etc/shells ¥Õ¥¡¥¤¥ë¤Î ¥Õ¥¡¥¤¥ë¥Ý¥¤¥ó¥¿¤òÀèƬ¤ËÌ᤹¡£

endusershell() ´Ø¿ô¤Ï /etc/shells ¥Õ¥¡¥¤¥ë¤òÊĤ¸¤ë¡£

ÊÖ¤êÃÍ

getusershell() ´Ø¿ô¤Ï¥Õ¥¡¥¤¥ë¤Î½ªÃ¼¤Ç¤ÏNULL ¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¡£

¥Õ¥¡¥¤¥ë


/etc/shells

½àµò

4.3BSD

´ØÏ¢¹àÌÜ

shells(5)