|
|||||||
|
|
NICESection: Linux Programmer's Manual (2)Updated: 2001-06-04 Index Return to Main Contents ̾Á°nice - ¥×¥í¥»¥¹¤ÎÍ¥ÀèÅÙ¤òÊѹ¹¤¹¤ë½ñ¼°#include <unistd.h>ÀâÌÀnice ¤Ï inc ¤ÎÃͤò nice ¤ò¸Æ¤ó¤À¥×¥í¥»¥¹¤Î nice Ãͤ˲䨤ë (nice Ãͤ¬Â礤¤¿ôÃͤۤÉÄ㤤ͥÀèÅÙ¤òɽ¤¹)¡£ Éé¤Î¿ô¤ò»ØÄꤹ¤ë¡¢¤Ä¤Þ¤ê¡¢°ÊÁ°¤è¤ê¤âÍ¥ÀèÅÙ¤ò¾å¤²¤ë¤È¤¤¤¦»ØÄ꤬¤Ç¤¤ë¤Î¤Ï ¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼¤À¤±¤Ë¸Â¤é¤ì¤ë¡£ÊÖ¤êÃÍÀ®¸ù¤·¤¿¾ì¹ç 0 ¤¬Ê֤롣¼ºÇÔ¤·¤¿¾ì¹ç -1 ¤¬Ê֤ꡢ errno ¤¬¥¨¥é¡¼¤ÎÆâÍÆ¤Ë½¾¤Ã¤ÆÀßÄꤵ¤ì¤ë¡£¥¨¥é¡¼
½àµòSVr4, SVID EXT, AT&T, X/OPEN, BSD 4.3¡£ ¤·¤«¤·¡¢Linux ¤È glibc (2.2.3¤Þ¤Ç) ¤Ç¤ÏÊÖ¤êÃͤÏɸ½à¤È°Û¤Ê¤ë¡£ ¾ÜºÙ¤Ï°Ê²¼¤ò»²¾È¤Î¤³¤È¡£ SVr4 ¤Ë¤Ï¾¤Ë EINVAL ¥¨¥é¡¼¥³¡¼¥É¤Ë¤Ä¤¤¤Æ¤Îµ½Ò¤¬¤¢¤ë¡£Ãí°ÕSUSv2 ¤Ç¤Ï¡¢¤³¤Î¥ë¡¼¥Á¥ó¤Ï¿·¤·¤¤ nice ÃͤòÊÖ¤¹¤³¤È¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£ °ìÊý¡¢Linux ¥·¥¹¥Æ¥à¥³¡¼¥ë¤È (g)libc ¥ë¡¼¥Á¥ó¤Ï À®¸ù»þ¤Ë 0 ¤òÊÖ¤¹¡£ ¿·¤·¤¤ nice ÃÍ¤Ï getpriority(2) ¤òÍѤ¤¤ë¤³¤È¤Ë¤è¤Ã¤ÆÆÀ¤ë¤³¤È¤¬¤Ç¤¤ë¡£ nice ¤¬¿·¤·¤¤ nice ÃͤòÊÖ¤¹¼ÂÁõ¤Ç¤Ï¡¢¹çˡŪ¤Ë -1 ¤¬ÊÖ¤µ¤ì¤ë²ÄǽÀ¤¬ ¤¢¤ë¤³¤È¤ËÃí°Õ¤¹¤ë¤³¤È¡£ ³Î¼Â¤Ë¥¨¥é¡¼¤ò¸¡½Ð¤¹¤ë¤¿¤á¤Ë¤Ï¡¢ ¸Æ¤Ó½Ð¤·¤ÎÁ°¤Ë errno ¤Ë 0 ¤òÀßÄꤷ¡¢ nice ¤¬ -1 ¤òÊÖ¤·¤¿¤È¤¤Ë errno ¤ò¥Á¥§¥Ã¥¯¤¹¤ë¤ÈÎɤ¤¡£´ØÏ¢¹àÌÜnice(1), getpriority(2), setpriority(2), fork(2), renice(8)
Index | ||||||
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "Linuxinfor Man Pages in HTML Format: man2". See Index Page for more info about Authorship and Copyright. 1999-2008 Linuxinfor.com. No rights reserved. |