亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? glib-file-utilities.html

?? 最新gtk中文資料集
?? HTML
?? 第 1 頁 / 共 5 頁
字號:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"><title>File Utilities</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="GLib Reference Manual"><link rel="up" href="glib-utilities.html" title="GLib Utilities"><link rel="prev" href="glib-Spawning-Processes.html" title="Spawning Processes"><link rel="next" href="glib-URI-Functions.html" title="URI Functions"><meta name="generator" content="GTK-Doc V1.9 (XML mode)"><link rel="stylesheet" href="style.css" type="text/css"><link rel="chapter" href="glib.html" title="GLib Overview"><link rel="chapter" href="glib-fundamentals.html" title="GLib Fundamentals"><link rel="chapter" href="glib-core.html" title="GLib Core Application Support"><link rel="chapter" href="glib-utilities.html" title="GLib Utilities"><link rel="chapter" href="glib-data-types.html" title="GLib Data Types"><link rel="chapter" href="tools.html" title="GLib Tools"><link rel="index" href="ix01.html" title="Index"><link rel="index" href="ix02.html" title="Index of deprecated symbols"><link rel="index" href="ix03.html" title="Index of new symbols in 2.2"><link rel="index" href="ix04.html" title="Index of new symbols in 2.4"><link rel="index" href="ix05.html" title="Index of new symbols in 2.6"><link rel="index" href="ix06.html" title="Index of new symbols in 2.8"><link rel="index" href="ix07.html" title="Index of new symbols in 2.10"><link rel="index" href="ix08.html" title="Index of new symbols in 2.12"><link rel="index" href="ix09.html" title="Index of new symbols in 2.14"><link rel="index" href="ix10.html" title="Index of new symbols in 2.16"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="glib-Spawning-Processes.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="glib-utilities.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td><th width="100%" align="center">GLib Reference Manual</th><td><a accesskey="n" href="glib-URI-Functions.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr><tr><td colspan="5" class="shortcuts"><nobr><a href="#id3107017" class="shortcut">Top</a>                  &#160;|&#160;                  <a href="#id2807972" class="shortcut">Description</a></nobr></td></tr></table><div class="refentry" lang="en"><a name="glib-File-Utilities"></a><div class="titlepage"></div><div class="refnamediv"><table width="100%"><tr><td valign="top"><h2><a name="id3107017"></a><span class="refentrytitle">File Utilities</span></h2><p>File Utilities &#8212; various file-related functions</p></td><td valign="top" align="right"></td></tr></table></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">#include &lt;glib.h&gt;#include &lt;glib/gstdio.h&gt;enum                <a class="link" href="glib-File-Utilities.html#GFileError">GFileError</a>;#define             <a class="link" href="glib-File-Utilities.html#G-FILE-ERROR:CAPS">G_FILE_ERROR</a>enum                <a class="link" href="glib-File-Utilities.html#GFileTest">GFileTest</a>;<a class="link" href="glib-File-Utilities.html#GFileError">GFileError</a>          <a class="link" href="glib-File-Utilities.html#g-file-error-from-errno">g_file_error_from_errno</a>             (<a class="link" href="glib-Basic-Types.html#gint">gint</a> err_no);<a class="link" href="glib-Basic-Types.html#gboolean">gboolean</a>            <a class="link" href="glib-File-Utilities.html#g-file-get-contents">g_file_get_contents</a>                 (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> **contents,                                                         <a class="link" href="glib-Basic-Types.html#gsize">gsize</a> *length,                                                         <a class="link" href="glib-Error-Reporting.html#GError">GError</a> **error);<a class="link" href="glib-Basic-Types.html#gboolean">gboolean</a>            <a class="link" href="glib-File-Utilities.html#g-file-set-contents">g_file_set_contents</a>                 (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *contents,                                                         <a class="link" href="glib-Basic-Types.html#gssize">gssize</a> length,                                                         <a class="link" href="glib-Error-Reporting.html#GError">GError</a> **error);<a class="link" href="glib-Basic-Types.html#gboolean">gboolean</a>            <a class="link" href="glib-File-Utilities.html#g-file-test">g_file_test</a>                         (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         <a class="link" href="glib-File-Utilities.html#GFileTest">GFileTest</a> test);<a class="link" href="glib-Basic-Types.html#gint">gint</a>                <a class="link" href="glib-File-Utilities.html#g-mkstemp">g_mkstemp</a>                           (<a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *tmpl);<a class="link" href="glib-Basic-Types.html#gint">gint</a>                <a class="link" href="glib-File-Utilities.html#g-file-open-tmp">g_file_open_tmp</a>                     (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *tmpl,                                                         <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> **name_used,                                                         <a class="link" href="glib-Error-Reporting.html#GError">GError</a> **error);<a class="link" href="glib-Basic-Types.html#gchar">gchar</a>*              <a class="link" href="glib-File-Utilities.html#g-file-read-link">g_file_read_link</a>                    (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         <a class="link" href="glib-Error-Reporting.html#GError">GError</a> **error);int                 <a class="link" href="glib-File-Utilities.html#g-mkdir-with-parents">g_mkdir_with_parents</a>                (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *pathname,                                                         int mode);                    <a class="link" href="glib-File-Utilities.html#GDir">GDir</a>;<a class="link" href="glib-File-Utilities.html#GDir">GDir</a>*               <a class="link" href="glib-File-Utilities.html#g-dir-open">g_dir_open</a>                          (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *path,                                                         <a class="link" href="glib-Basic-Types.html#guint">guint</a> flags,                                                         <a class="link" href="glib-Error-Reporting.html#GError">GError</a> **error);const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a>*        <a class="link" href="glib-File-Utilities.html#g-dir-read-name">g_dir_read_name</a>                     (<a class="link" href="glib-File-Utilities.html#GDir">GDir</a> *dir);void                <a class="link" href="glib-File-Utilities.html#g-dir-rewind">g_dir_rewind</a>                        (<a class="link" href="glib-File-Utilities.html#GDir">GDir</a> *dir);void                <a class="link" href="glib-File-Utilities.html#g-dir-close">g_dir_close</a>                         (<a class="link" href="glib-File-Utilities.html#GDir">GDir</a> *dir);                    <a class="link" href="glib-File-Utilities.html#GMappedFile">GMappedFile</a>;<a class="link" href="glib-File-Utilities.html#GMappedFile">GMappedFile</a>*        <a class="link" href="glib-File-Utilities.html#g-mapped-file-new">g_mapped_file_new</a>                   (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         <a class="link" href="glib-Basic-Types.html#gboolean">gboolean</a> writable,                                                         <a class="link" href="glib-Error-Reporting.html#GError">GError</a> **error);void                <a class="link" href="glib-File-Utilities.html#g-mapped-file-free">g_mapped_file_free</a>                  (<a class="link" href="glib-File-Utilities.html#GMappedFile">GMappedFile</a> *file);<a class="link" href="glib-Basic-Types.html#gsize">gsize</a>               <a class="link" href="glib-File-Utilities.html#g-mapped-file-get-length">g_mapped_file_get_length</a>            (<a class="link" href="glib-File-Utilities.html#GMappedFile">GMappedFile</a> *file);<a class="link" href="glib-Basic-Types.html#gchar">gchar</a>*              <a class="link" href="glib-File-Utilities.html#g-mapped-file-get-contents">g_mapped_file_get_contents</a>          (<a class="link" href="glib-File-Utilities.html#GMappedFile">GMappedFile</a> *file);int                 <a class="link" href="glib-File-Utilities.html#g-open">g_open</a>                              (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         int flags,                                                         int mode);int                 <a class="link" href="glib-File-Utilities.html#g-rename">g_rename</a>                            (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *oldfilename,                                                         const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *newfilename);int                 <a class="link" href="glib-File-Utilities.html#g-mkdir">g_mkdir</a>                             (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         int mode);int                 <a class="link" href="glib-File-Utilities.html#g-stat">g_stat</a>                              (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         struct stat *buf);int                 <a class="link" href="glib-File-Utilities.html#g-lstat">g_lstat</a>                             (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         struct stat *buf);int                 <a class="link" href="glib-File-Utilities.html#g-unlink">g_unlink</a>                            (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename);int                 <a class="link" href="glib-File-Utilities.html#g-remove">g_remove</a>                            (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename);int                 <a class="link" href="glib-File-Utilities.html#g-rmdir">g_rmdir</a>                             (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename);FILE*               <a class="link" href="glib-File-Utilities.html#g-fopen">g_fopen</a>                             (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *mode);FILE*               <a class="link" href="glib-File-Utilities.html#g-freopen">g_freopen</a>                           (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *mode,                                                         FILE *stream);int                 <a class="link" href="glib-File-Utilities.html#g-chmod">g_chmod</a>                             (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         int mode);int                 <a class="link" href="glib-File-Utilities.html#g-access">g_access</a>                            (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         int mode);int                 <a class="link" href="glib-File-Utilities.html#g-creat">g_creat</a>                             (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *filename,                                                         int mode);int                 <a class="link" href="glib-File-Utilities.html#g-chdir">g_chdir</a>                             (const <a class="link" href="glib-Basic-Types.html#gchar">gchar</a> *path);</pre></div><div class="refsect1" lang="en"><a name="id2807972"></a><h2>Description</h2><p>There is a group of functions which wrap the common POSIX functions dealing with filenames (<a class="link" href="glib-File-Utilities.html#g-open"><code class="function">g_open()</code></a>, <a class="link" href="glib-File-Utilities.html#g-rename"><code class="function">g_rename()</code></a>, <a class="link" href="glib-File-Utilities.html#g-mkdir"><code class="function">g_mkdir()</code></a>, <a class="link" href="glib-File-Utilities.html#g-stat"><code class="function">g_stat()</code></a>, <a class="link" href="glib-File-Utilities.html#g-unlink"><code class="function">g_unlink()</code></a>, <a class="link" href="glib-File-Utilities.html#g-remove"><code class="function">g_remove()</code></a>, <a class="link" href="glib-File-Utilities.html#g-fopen"><code class="function">g_fopen()</code></a>, <a class="link" href="glib-File-Utilities.html#g-freopen"><code class="function">g_freopen()</code></a>). The point of these wrappers is to make it possible to handle file names with any Unicode characters in them on Windows without having to use ifdefs and the wide character API in the application code.</p><p>The pathname argument should be in the GLib file name encoding. OnPOSIX this is the actual on-disk encoding which might correspond tothe locale settings of the process (or the <code class="envar">G_FILENAME_ENCODING</code> environment variable), or not.</p><p>On Windows the GLib file name encoding is UTF-8. Note that theMicrosoft C library does not use UTF-8, but has separate APIs forcurrent system code page and wide characters (UTF-16). The GLibwrappers call the wide character API if present (on modern Windowssystems), otherwise convert to/from the system code page.</p><p>Another group of functions allows to open and read directoriesin the GLib file name encoding. These are <a class="link" href="glib-File-Utilities.html#g-dir-open"><code class="function">g_dir_open()</code></a>, <a class="link" href="glib-File-Utilities.html#g-dir-read-name"><code class="function">g_dir_read_name()</code></a>, <a class="link" href="glib-File-Utilities.html#g-dir-rewind"><code class="function">g_dir_rewind()</code></a>, <a class="link" href="glib-File-Utilities.html#g-dir-close"><code class="function">g_dir_close()</code></a>.</p></div><div class="refsect1" lang="en"><a name="id3108834"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id3108844"></a><h3><a name="GFileError"></a>enum GFileError</h3><a class="indexterm" name="id3108856"></a><pre class="programlisting">typedef enum{  G_FILE_ERROR_EXIST,  G_FILE_ERROR_ISDIR,  G_FILE_ERROR_ACCES,  G_FILE_ERROR_NAMETOOLONG,  G_FILE_ERROR_NOENT,  G_FILE_ERROR_NOTDIR,  G_FILE_ERROR_NXIO,  G_FILE_ERROR_NODEV,  G_FILE_ERROR_ROFS,  G_FILE_ERROR_TXTBSY,  G_FILE_ERROR_FAULT,  G_FILE_ERROR_LOOP,  G_FILE_ERROR_NOSPC,  G_FILE_ERROR_NOMEM,  G_FILE_ERROR_MFILE,  G_FILE_ERROR_NFILE,  G_FILE_ERROR_BADF,  G_FILE_ERROR_INVAL,  G_FILE_ERROR_PIPE,  G_FILE_ERROR_AGAIN,  G_FILE_ERROR_INTR,  G_FILE_ERROR_IO,  G_FILE_ERROR_PERM,  G_FILE_ERROR_NOSYS,  G_FILE_ERROR_FAILED} GFileError;</pre><p>Values corresponding to <code class="literal">errno</code> codes returned from file operationson UNIX. Unlike <code class="literal">errno</code> codes, <a class="link" href="glib-File-Utilities.html#GFileError"><span class="type">GFileError</span></a> values are available on all systems, even Windows. The exact meaning of each code depends on whatsort of file operation you were performing; the UNIX documentationgives more details. The following error code descriptions come from the GNU C Library manual, and are under the copyrightof that manual.</p><p>It's not very portable to make detailed assumptions about exactlywhich errors will be returned from a given operation. Some errorsdon't occur on some systems, etc., sometimes there are subtledifferences in when a system will report a given error, etc.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><a name="G-FILE-ERROR-EXIST:CAPS"></a><code class="literal">G_FILE_ERROR_EXIST</code></span></p></td><td>Operation not permitted; only the owner of the     file (or other resource) or processes with special privileges can     perform the operation.</td></tr><tr><td><p><span class="term"><a name="G-FILE-ERROR-ISDIR:CAPS"></a><code class="literal">G_FILE_ERROR_ISDIR</code></span></p></td><td>File is a directory; you cannot open a directory     for writing, or create or remove hard links to it.</td></tr><tr><td><p><span class="term"><a name="G-FILE-ERROR-ACCES:CAPS"></a><code class="literal">G_FILE_ERROR_ACCES</code></span></p></td><td>Permission denied; the file permissions do not     allow the attempted operation.</td></tr><tr><td><p><span class="term"><a name="G-FILE-ERROR-NAMETOOLONG:CAPS"></a><code class="literal">G_FILE_ERROR_NAMETOOLONG</code></span></p></td><td>Filename too long.</td></tr><tr><td><p><span class="term"><a name="G-FILE-ERROR-NOENT:CAPS"></a><code class="literal">G_FILE_ERROR_NOENT</code></span></p></td>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品资源在线看| 国产高清精品在线| 久久人人爽人人爽| 欧美做爰猛烈大尺度电影无法无天| 人人狠狠综合久久亚洲| 国产精品久久久久久妇女6080| 欧美精品免费视频| 成人av在线电影| 久久精品国产999大香线蕉| 亚洲日本va午夜在线影院| 精品成人一区二区三区四区| 在线观看成人小视频| 成人免费看的视频| 久久99久久精品欧美| 亚洲国产成人精品视频| 国产精品传媒视频| 国产日韩精品一区二区浪潮av| 欧美电影在哪看比较好| 日本丶国产丶欧美色综合| 成人禁用看黄a在线| 国产一区二区三区免费播放| 日韩不卡手机在线v区| 一区二区高清在线| 亚洲欧美日韩在线| 国产精品毛片高清在线完整版| 精品久久久久久久久久久久久久久久久 | 久久一留热品黄| 91精品国产综合久久婷婷香蕉| 欧美在线观看视频在线| 色婷婷久久一区二区三区麻豆| 成人自拍视频在线| 国产成人一区在线| 国产在线观看免费一区| 久久99精品国产91久久来源| 青青草原综合久久大伊人精品优势| 亚洲国产色一区| 亚洲www啪成人一区二区麻豆 | 亚洲图片欧美视频| 最新国产成人在线观看| 亚洲欧洲另类国产综合| 国产精品久99| 最新欧美精品一区二区三区| 国产精品视频观看| 国产精品麻豆一区二区 | 亚洲视频在线观看一区| 亚洲天堂久久久久久久| 日韩理论在线观看| 亚洲激情在线播放| 亚洲一区在线电影| 丝袜美腿高跟呻吟高潮一区| 婷婷久久综合九色综合绿巨人| 天天影视涩香欲综合网| 奇米777欧美一区二区| 久热成人在线视频| 国产激情视频一区二区在线观看| 国产电影一区在线| av激情综合网| 欧美三级电影网站| 91精品婷婷国产综合久久竹菊| 欧美一级二级三级乱码| 久久久午夜精品理论片中文字幕| 国产亲近乱来精品视频| 亚洲丝袜自拍清纯另类| 亚洲福利国产精品| 精品在线亚洲视频| 成人av在线网站| 欧美日韩综合在线| 日韩欧美国产午夜精品| 欧美国产精品一区二区| 亚洲黄色免费电影| 免费精品视频最新在线| 国产精品乡下勾搭老头1| 色哟哟国产精品| 欧美一区二区在线免费播放| 久久色在线视频| 亚洲欧美一区二区三区国产精品 | 国产精品第四页| 亚洲国产日韩综合久久精品| 青娱乐精品视频在线| 国产一区福利在线| 在线影院国内精品| 精品处破学生在线二十三| 亚洲欧洲一区二区在线播放| 日本亚洲免费观看| 成人av午夜影院| 欧美一区二区三区免费视频| 国产精品每日更新| 看片的网站亚洲| 一本大道综合伊人精品热热 | 欧美丰满一区二区免费视频| 国产三级欧美三级日产三级99| 亚洲欧洲制服丝袜| 麻豆久久久久久| 色综合久久六月婷婷中文字幕| 欧美成人一级视频| 亚洲一区二区三区国产| 国产精品一级黄| 在线不卡免费av| 亚洲免费av网站| 国产精品77777| 日韩一区二区三区免费看| 亚洲图片你懂的| 福利电影一区二区三区| 欧美一区二区视频网站| 亚洲与欧洲av电影| 成人精品高清在线| wwwwxxxxx欧美| 日韩不卡一区二区三区| 在线视频你懂得一区| 国产精品卡一卡二| 国产自产视频一区二区三区| 欧美精品高清视频| 亚洲一本大道在线| 91视频com| 国产精品每日更新| 国产+成+人+亚洲欧洲自线| 欧美一区二区三区四区在线观看| 一片黄亚洲嫩模| 91麻豆免费看| 国产精品久久久久久久久搜平片 | 精品少妇一区二区三区在线播放| 中文字幕在线观看不卡视频| 国产福利91精品一区| 日韩一区二区三区观看| 天天做天天摸天天爽国产一区 | 亚洲在线视频免费观看| 91在线一区二区| 国产精品乱码妇女bbbb| 国产成人午夜片在线观看高清观看| 日韩一区二区麻豆国产| 热久久久久久久| 日韩一区二区三区三四区视频在线观看 | 国产色综合久久| 国产精品18久久久久久久久久久久 | 日韩一区二区三区电影| 日韩avvvv在线播放| 精品1区2区3区| 亚洲电影中文字幕在线观看| 欧美三级欧美一级| 午夜国产精品一区| 7777精品久久久大香线蕉| 日韩专区中文字幕一区二区| 91精品国产综合久久精品麻豆| 日本中文字幕一区| 91精品国产综合久久精品性色| 日本强好片久久久久久aaa| 日韩三级在线观看| 国产真实乱子伦精品视频| 国产三级一区二区| 99国产精品久久久久| 一个色综合av| 欧美精品第1页| 国产综合久久久久影院| 国产精品美女一区二区三区| 色综合av在线| 日精品一区二区| 国产亚洲综合av| 94-欧美-setu| 天天亚洲美女在线视频| 日韩欧美国产三级电影视频| 国产成人综合在线播放| 日韩一区在线看| 欧美性色综合网| 老司机精品视频在线| 亚洲国产高清在线| 欧美亚洲一区二区三区四区| 日韩电影在线观看网站| 日本一区二区在线不卡| 日本精品一区二区三区高清 | 免费在线欧美视频| 国产日产欧美一区二区视频| 91国在线观看| 老司机免费视频一区二区| 国产精品第一页第二页第三页| 欧美日韩在线亚洲一区蜜芽| 国产一区二区三区免费播放| 亚洲黄色性网站| 久久美女艺术照精彩视频福利播放| 99久久伊人精品| 久久精品国产**网站演员| 中文字幕亚洲区| 精品欧美久久久| 色吊一区二区三区| 精久久久久久久久久久| 亚洲欧美日韩在线| 久久婷婷国产综合国色天香| 在线精品视频一区二区三四| 国产最新精品免费| 亚洲一区二区偷拍精品| 国产偷国产偷亚洲高清人白洁 | 91小视频在线观看| 捆绑变态av一区二区三区 | 丁香婷婷深情五月亚洲| 日韩精品视频网站| 亚洲你懂的在线视频| 日韩欧美国产高清| 日本丶国产丶欧美色综合| 国产精品888| 奇米精品一区二区三区四区| 一区二区成人在线观看|