Provided by: libwnn-dev_1.1.1~a021+cvs20130302-5build1_amd64 bug

名称


       js_access()         ファイルのアクセス権を調べる。

形式


       #include "jslib.h"

       int
       js_access(env,path,amode)
       struct wnn_env *env;          /* 環境 */
       char *path;                   /* パス名 */
       int amode;                    /* モード */

機能


       path で指定されたファイルをサーバ自身のアクセス権で調べる。 amode は、access(2) と同じであ
       る。
               04   read
               02   write
               01   execute (search)
               00   check existence of file
       path と amode を持って、jserver の権限で access(2) を実行する。 path の最大文字数は、128文
       字である。

リターンバリュー


       access(2) と同じである。

                                        20 September 1991                            JS_ACCESS(3)