mirror of
https://github.com/MidnightCommander/source.git
synced 2026-02-02 11:11:55 -08:00
370 lines
62 KiB
HTML
370 lines
62 KiB
HTML
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
|
|
<html xmlns='http://www.w3.org/1999/xhtml'>
|
|
<head>
|
|
<title>lib/util.h</title>
|
|
<meta name='robots' content='noindex,nofollow' />
|
|
<meta name='generator' content='GLOBAL-6.6.11' />
|
|
<meta http-equiv='Content-Style-Type' content='text/css' />
|
|
<link rel='stylesheet' type='text/css' href='../style.css' />
|
|
</head>
|
|
<body>
|
|
<!-- beginning of fixed guide -->
|
|
<div id='guide'><ul>
|
|
<li><a href='#L280'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
|
|
<li><a href='#L315'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
|
|
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
|
|
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
|
|
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
|
|
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
|
|
<li class='standout'><span><a href='../files/lib.html'>lib</a>/util.h</span></li>
|
|
</ul></div>
|
|
<!-- end of fixed guide -->
|
|
<div align='right'>Manual pages:
|
|
<a href=man/mc.html>mc</a> • <a href=man/mcdiff.html>mcdiff</a> • <a href=man/mcedit.html>mcedit</a> • <a href=man/mcview.html>mcview</a>
|
|
</div>
|
|
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/lib.html'>lib</a>/util.h</h2>
|
|
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L280'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L315'><img class='icon' src='../icons/last.png' alt='[last]' /></a><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+1 lib/util.h' /> */</em>
|
|
<hr />
|
|
<h2 class='header'><a href='../J/util.h.html' title='Multiple included from 145 places.'>INCLUDED FROM</a></h2>
|
|
<hr />
|
|
<h2 class='header'>DEFINITIONS</h2>
|
|
This source file includes following definitions.
|
|
<ol>
|
|
<li><a href='#L280' title='Defined at 280.'>mc_propagate_error</a></li>
|
|
<li><a href='#L298' title='Defined at 298.'>is_exe</a></li>
|
|
<li><a href='#L315' title='Defined at 315.'>canonicalize_pathname</a></li>
|
|
</ol>
|
|
<hr />
|
|
<pre>
|
|
<a id='L1' name='L1'></a> 1 <em class='comment'>/** \file lib/util.h</em>
|
|
<a id='L2' name='L2'></a> 2 <em class='comment'> * \brief Header: various utilities</em>
|
|
<a id='L3' name='L3'></a> 3 <em class='comment'> */</em>
|
|
<a id='L4' name='L4'></a> 4
|
|
<a id='L5' name='L5'></a> 5 <em class='sharp'>#ifndef</em> <a href='../S/lib--util.h.html#L6' title='Defined at 6 in lib/util.h.'>MC_UTIL_H</a>
|
|
<a id='L6' name='L6'></a> 6 <em class='sharp'>#define</em> <a href='../S/lib--util.h.html#L5' title='Referred from 5 in lib/util.h.'>MC_UTIL_H</a>
|
|
<a id='L7' name='L7'></a> 7
|
|
<a id='L8' name='L8'></a> 8 <em class='sharp'>#include</em> <sys/types.h>
|
|
<a id='L9' name='L9'></a> 9 <em class='sharp'>#include</em> <sys/stat.h>
|
|
<a id='L10' name='L10'></a> 10 <em class='sharp'>#include</em> <inttypes.h> <em class='comment'>// uintmax_t</em>
|
|
<a id='L11' name='L11'></a> 11 <em class='sharp'>#include</em> <unistd.h>
|
|
<a id='L12' name='L12'></a> 12
|
|
<a id='L13' name='L13'></a> 13 <em class='sharp'>#include</em> "<a href='lib--global.h.html'>lib/global.h</a>" <em class='comment'>// include <glib.h></em>
|
|
<a id='L14' name='L14'></a> 14
|
|
<a id='L15' name='L15'></a> 15 <em class='sharp'>#include</em> "<a href='lib--vfs--vfs.h.html'>lib/vfs/vfs.h</a>"
|
|
<a id='L16' name='L16'></a> 16
|
|
<a id='L17' name='L17'></a> 17 <em class='comment'>/*** typedefs(not structures) and defined constants **********************************************/</em>
|
|
<a id='L18' name='L18'></a> 18
|
|
<a id='L19' name='L19'></a> 19 <em class='sharp'>#ifndef</em> <a href='../S/lib--util.h.html#L20' title='Defined at 20 in lib/util.h.'>MAXSYMLINKS</a>
|
|
<a id='L20' name='L20'></a> 20 <em class='sharp'>#define</em> <a href='../R/MAXSYMLINKS.html' title='Multiple referred from 2 places.'>MAXSYMLINKS</a> 32
|
|
<a id='L21' name='L21'></a> 21 <em class='sharp'>#endif</em>
|
|
<a id='L22' name='L22'></a> 22
|
|
<a id='L23' name='L23'></a> 23 <em class='sharp'>#define</em> <a href='../R/MAX_SAVED_BOOKMARKS.html' title='Multiple referred from 5 places.'>MAX_SAVED_BOOKMARKS</a> 10
|
|
<a id='L24' name='L24'></a> 24
|
|
<a id='L25' name='L25'></a> 25 <em class='sharp'>#define</em> <a href='../R/MC_PTR_FREE.html' title='Multiple referred from 98 places.'>MC_PTR_FREE</a>(<a href='../Y/ptr.html' title='Multiple used in 46 places.'>ptr</a>) \
|
|
<a id='L26' name='L26'></a> 26 <strong class='reserved'>do</strong> \
|
|
<a id='L27' name='L27'></a> 27 <em class='brace'>{</em> \
|
|
<a id='L28' name='L28'></a> 28 <a href='../Y/g_free.html' title='Multiple used in 1114 places.'>g_free</a> (<a href='../Y/ptr.html' title='Multiple used in 46 places.'>ptr</a>); \
|
|
<a id='L29' name='L29'></a> 29 (<a href='../Y/ptr.html' title='Multiple used in 46 places.'>ptr</a>) = <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>; \
|
|
<a id='L30' name='L30'></a> 30 <em class='brace'>}</em> \
|
|
<a id='L31' name='L31'></a> 31 <strong class='reserved'>while</strong> (0)
|
|
<a id='L32' name='L32'></a> 32
|
|
<a id='L33' name='L33'></a> 33 <em class='sharp'>#define</em> <a href='../R/mc_return_if_error.html' title='Multiple referred from 4 places.'>mc_return_if_error</a>(<a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a>) \
|
|
<a id='L34' name='L34'></a> 34 <strong class='reserved'>do</strong> \
|
|
<a id='L35' name='L35'></a> 35 <em class='brace'>{</em> \
|
|
<a id='L36' name='L36'></a> 36 <strong class='reserved'>if</strong> (<a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a> != <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a> && *<a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a> != <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>) \
|
|
<a id='L37' name='L37'></a> 37 <strong class='reserved'>return</strong>; \
|
|
<a id='L38' name='L38'></a> 38 <em class='brace'>}</em> \
|
|
<a id='L39' name='L39'></a> 39 <strong class='reserved'>while</strong> (0)
|
|
<a id='L40' name='L40'></a> 40 <em class='sharp'>#define</em> <a href='../R/mc_return_val_if_error.html' title='Multiple referred from 37 places.'>mc_return_val_if_error</a>(<a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a>, <a href='../Y/mcvalue.html' title='Multiple used in 2 places.'>mcvalue</a>) \
|
|
<a id='L41' name='L41'></a> 41 <strong class='reserved'>do</strong> \
|
|
<a id='L42' name='L42'></a> 42 <em class='brace'>{</em> \
|
|
<a id='L43' name='L43'></a> 43 <strong class='reserved'>if</strong> (<a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a> != <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a> && *<a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a> != <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>) \
|
|
<a id='L44' name='L44'></a> 44 <strong class='reserved'>return</strong> <a href='../Y/mcvalue.html' title='Multiple used in 2 places.'>mcvalue</a>; \
|
|
<a id='L45' name='L45'></a> 45 <em class='brace'>}</em> \
|
|
<a id='L46' name='L46'></a> 46 <strong class='reserved'>while</strong> (0)
|
|
<a id='L47' name='L47'></a> 47
|
|
<a id='L48' name='L48'></a> 48 <em class='sharp'>#define</em> <a href='../R/whitespace.html' title='Multiple referred from 22 places.'>whitespace</a>(<a href='../Y/c.html' title='Multiple used in 818 places.'>c</a>) ((<a href='../Y/c.html' title='Multiple used in 818 places.'>c</a>) == ' ' || (<a href='../Y/c.html' title='Multiple used in 818 places.'>c</a>) == '\t')
|
|
<a id='L49' name='L49'></a> 49 <em class='sharp'>#define</em> <a href='../R/whiteness.html' title='Multiple referred from 8 places.'>whiteness</a>(<a href='../Y/c.html' title='Multiple used in 818 places.'>c</a>) (<a href='../S/lib--util.h.html#L48' title='Defined at 48 in lib/util.h.'>whitespace</a> (<a href='../Y/c.html' title='Multiple used in 818 places.'>c</a>) || (<a href='../Y/c.html' title='Multiple used in 818 places.'>c</a>) == '\n')
|
|
<a id='L50' name='L50'></a> 50
|
|
<a id='L51' name='L51'></a> 51 <em class='sharp'>#define</em> <a href='../R/MC_PIPE_BUFSIZE.html' title='Multiple referred from 16 places.'>MC_PIPE_BUFSIZE</a> <a href='../S/lib--global.h.html#L83' title='Defined at 83 in lib/global.h.'>BUF_8K</a>
|
|
<a id='L52' name='L52'></a> 52 <em class='sharp'>#define</em> <a href='../R/MC_PIPE_STREAM_EOF.html' title='Multiple referred from 7 places.'>MC_PIPE_STREAM_EOF</a> 0
|
|
<a id='L53' name='L53'></a> 53 <em class='sharp'>#define</em> <a href='../R/MC_PIPE_STREAM_UNREAD.html' title='Multiple referred from 5 places.'>MC_PIPE_STREAM_UNREAD</a> -1
|
|
<a id='L54' name='L54'></a> 54 <em class='sharp'>#define</em> <a href='../S/lib--utilunix.c.html#L560' title='Referred from 560 in lib/utilunix.c.'>MC_PIPE_ERROR_CREATE_PIPE</a> -2
|
|
<a id='L55' name='L55'></a> 55 <em class='sharp'>#define</em> MC_PIPE_ERROR_PARSE_COMMAND -3
|
|
<a id='L56' name='L56'></a> 56 <em class='sharp'>#define</em> <a href='../S/lib--utilunix.c.html#L573' title='Referred from 573 in lib/utilunix.c.'>MC_PIPE_ERROR_CREATE_PIPE_STREAM</a> -4
|
|
<a id='L57' name='L57'></a> 57 <em class='sharp'>#define</em> <a href='../R/MC_PIPE_ERROR_READ.html' title='Multiple referred from 9 places.'>MC_PIPE_ERROR_READ</a> -5
|
|
<a id='L58' name='L58'></a> 58
|
|
<a id='L59' name='L59'></a> 59 <em class='comment'>/* gnulib efa15594e17fc20827dba66414fb391e99905394</em>
|
|
<a id='L60' name='L60'></a> 60 <em class='comment'></em>
|
|
<a id='L61' name='L61'></a> 61 <em class='comment'> *_GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2.</em>
|
|
<a id='L62' name='L62'></a> 62 <em class='comment'> * It returns</em>
|
|
<a id='L63' name='L63'></a> 63 <em class='comment'> * 1 if n1 > n2</em>
|
|
<a id='L64' name='L64'></a> 64 <em class='comment'> * 0 if n1 == n2</em>
|
|
<a id='L65' name='L65'></a> 65 <em class='comment'> * -1 if n1 < n2</em>
|
|
<a id='L66' name='L66'></a> 66 <em class='comment'> * The native code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional</em>
|
|
<a id='L67' name='L67'></a> 67 <em class='comment'> * jump with nearly all GCC versions up to GCC 10.</em>
|
|
<a id='L68' name='L68'></a> 68 <em class='comment'> * This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many</em>
|
|
<a id='L69' name='L69'></a> 69 <em class='comment'> * GCC versions up to GCC 9.</em>
|
|
<a id='L70' name='L70'></a> 70 <em class='comment'> * The better code (n1 > n2) - (n1 < n2) from Hacker's Delight para 2-9</em>
|
|
<a id='L71' name='L71'></a> 71 <em class='comment'> * avoids conditional jumps in all GCC versions >= 3.4.</em>
|
|
<a id='L72' name='L72'></a> 72 <em class='comment'> */</em>
|
|
<a id='L73' name='L73'></a> 73 <em class='sharp'>#define</em> <a href='../R/_GL_CMP.html' title='Multiple referred from 6 places.'>_GL_CMP</a>(<a href='../Y/n1.html' title='Multiple used in 31 places.'>n1</a>, <a href='../Y/n2.html' title='Multiple used in 31 places.'>n2</a>) (((<a href='../Y/n1.html' title='Multiple used in 31 places.'>n1</a>) > (<a href='../Y/n2.html' title='Multiple used in 31 places.'>n2</a>)) - ((<a href='../Y/n1.html' title='Multiple used in 31 places.'>n1</a>) < (<a href='../Y/n2.html' title='Multiple used in 31 places.'>n2</a>)))
|
|
<a id='L74' name='L74'></a> 74
|
|
<a id='L75' name='L75'></a> 75 <em class='comment'>/* Difference or zero */</em>
|
|
<a id='L76' name='L76'></a> 76 <em class='sharp'>#define</em> <a href='../R/DOZ.html' title='Multiple referred from 12 places.'>DOZ</a>(<a href='../Y/a.html' title='Multiple used in 466 places.'>a</a>, <a href='../Y/b.html' title='Multiple used in 653 places.'>b</a>) ((<a href='../Y/a.html' title='Multiple used in 466 places.'>a</a>) > (<a href='../Y/b.html' title='Multiple used in 653 places.'>b</a>) ? (<a href='../Y/a.html' title='Multiple used in 466 places.'>a</a>) - (<a href='../Y/b.html' title='Multiple used in 653 places.'>b</a>) : 0)
|
|
<a id='L77' name='L77'></a> 77
|
|
<a id='L78' name='L78'></a> 78 <em class='comment'>/* flags for shell_execute */</em>
|
|
<a id='L79' name='L79'></a> 79 <em class='sharp'>#define</em> <a href='../R/EXECUTE_INTERNAL.html' title='Multiple referred from 10 places.'>EXECUTE_INTERNAL</a> (1 << 0)
|
|
<a id='L80' name='L80'></a> 80 <em class='sharp'>#define</em> <a href='../R/EXECUTE_AS_SHELL.html' title='Multiple referred from 5 places.'>EXECUTE_AS_SHELL</a> (1 << 2)
|
|
<a id='L81' name='L81'></a> 81 <em class='sharp'>#define</em> <a href='../R/EXECUTE_HIDE.html' title='Multiple referred from 3 places.'>EXECUTE_HIDE</a> (1 << 3)
|
|
<a id='L82' name='L82'></a> 82
|
|
<a id='L83' name='L83'></a> 83 <em class='comment'>/*** enums ***************************************************************************************/</em>
|
|
<a id='L84' name='L84'></a> 84
|
|
<a id='L85' name='L85'></a> 85 <em class='comment'>/* Pathname canonicalization */</em>
|
|
<a id='L86' name='L86'></a> 86 <strong class='reserved'>typedef</strong> <strong class='reserved'>enum</strong>
|
|
<a id='L87' name='L87'></a> 87 <em class='brace'>{</em>
|
|
<a id='L88' name='L88'></a> 88 CANON_PATH_NOCHANGE = 0,
|
|
<a id='L89' name='L89'></a> 89 <a href='../R/CANON_PATH_JOINSLASHES.html' title='Multiple referred from 2 places.'>CANON_PATH_JOINSLASHES</a> = 1L << 0, <em class='comment'>// Multiple '/'s are collapsed to a single '/'</em>
|
|
<a id='L90' name='L90'></a> 90 <a href='../R/CANON_PATH_REMSLASHDOTS.html' title='Multiple referred from 2 places.'>CANON_PATH_REMSLASHDOTS</a> = 1L << 1, <em class='comment'>// Leading './'s, '/'s and trailing '/.'s are removed</em>
|
|
<a id='L91' name='L91'></a> 91 <a href='../R/CANON_PATH_REMDOUBLEDOTS.html' title='Multiple referred from 4 places.'>CANON_PATH_REMDOUBLEDOTS</a> = 1L
|
|
<a id='L92' name='L92'></a> 92 << 3, <em class='comment'>// Non-leading '../'s and trailing '..'s are handled by removing portions of the path</em>
|
|
<a id='L93' name='L93'></a> 93 <a href='../R/CANON_PATH_GUARDUNC.html' title='Multiple referred from 2 places.'>CANON_PATH_GUARDUNC</a> = 1L << 4, <em class='comment'>// Detect and preserve UNC paths: //server/...</em>
|
|
<a id='L94' name='L94'></a> 94 <a href='../R/CANON_PATH_ALL.html' title='Multiple referred from 3 places.'>CANON_PATH_ALL</a> = <a href='../S/lib--util.h.html#L89' title='Defined at 89 in lib/util.h.'>CANON_PATH_JOINSLASHES</a> | <a href='../S/lib--util.h.html#L90' title='Defined at 90 in lib/util.h.'>CANON_PATH_REMSLASHDOTS</a> | <a href='../S/lib--util.h.html#L91' title='Defined at 91 in lib/util.h.'>CANON_PATH_REMDOUBLEDOTS</a>
|
|
<a id='L95' name='L95'></a> 95 | <a href='../S/lib--util.h.html#L93' title='Defined at 93 in lib/util.h.'>CANON_PATH_GUARDUNC</a> <em class='comment'>// All flags</em>
|
|
<a id='L96' name='L96'></a> 96 <em class='brace'>}</em> <a href='../R/canon_path_flags_t.html' title='Multiple referred from 2 places.'>canon_path_flags_t</a>;
|
|
<a id='L97' name='L97'></a> 97
|
|
<a id='L98' name='L98'></a> 98 <strong class='reserved'>enum</strong> <a href='../R/compression_type.html' title='Multiple referred from 2 places.'>compression_type</a>
|
|
<a id='L99' name='L99'></a> 99 <em class='brace'>{</em>
|
|
<a id='L100' name='L100'></a> 100 <a href='../R/COMPRESSION_NONE.html' title='Multiple referred from 8 places.'>COMPRESSION_NONE</a>,
|
|
<a id='L101' name='L101'></a> 101 <a href='../R/COMPRESSION_ZIP.html' title='Multiple referred from 2 places.'>COMPRESSION_ZIP</a>,
|
|
<a id='L102' name='L102'></a> 102 <a href='../R/COMPRESSION_GZIP.html' title='Multiple referred from 3 places.'>COMPRESSION_GZIP</a>,
|
|
<a id='L103' name='L103'></a> 103 <a href='../R/COMPRESSION_BZIP.html' title='Multiple referred from 2 places.'>COMPRESSION_BZIP</a>,
|
|
<a id='L104' name='L104'></a> 104 <a href='../R/COMPRESSION_BZIP2.html' title='Multiple referred from 2 places.'>COMPRESSION_BZIP2</a>,
|
|
<a id='L105' name='L105'></a> 105 <a href='../R/COMPRESSION_LZIP.html' title='Multiple referred from 2 places.'>COMPRESSION_LZIP</a>,
|
|
<a id='L106' name='L106'></a> 106 <a href='../R/COMPRESSION_LZ4.html' title='Multiple referred from 2 places.'>COMPRESSION_LZ4</a>,
|
|
<a id='L107' name='L107'></a> 107 <a href='../R/COMPRESSION_LZMA.html' title='Multiple referred from 3 places.'>COMPRESSION_LZMA</a>,
|
|
<a id='L108' name='L108'></a> 108 <a href='../R/COMPRESSION_LZO.html' title='Multiple referred from 2 places.'>COMPRESSION_LZO</a>,
|
|
<a id='L109' name='L109'></a> 109 <a href='../R/COMPRESSION_XZ.html' title='Multiple referred from 2 places.'>COMPRESSION_XZ</a>,
|
|
<a id='L110' name='L110'></a> 110 <a href='../R/COMPRESSION_ZSTD.html' title='Multiple referred from 2 places.'>COMPRESSION_ZSTD</a>,
|
|
<a id='L111' name='L111'></a> 111 <em class='brace'>}</em>;
|
|
<a id='L112' name='L112'></a> 112
|
|
<a id='L113' name='L113'></a> 113 <em class='comment'>/* stdout or stderr stream of child process */</em>
|
|
<a id='L114' name='L114'></a> 114 <strong class='reserved'>typedef</strong> <strong class='reserved'>struct</strong>
|
|
<a id='L115' name='L115'></a> 115 <em class='brace'>{</em>
|
|
<a id='L116' name='L116'></a> 116 <em class='comment'>// file descriptor</em>
|
|
<a id='L117' name='L117'></a> 117 <strong class='reserved'>int</strong> <a href='../Y/fd.html' title='Multiple used in 250 places.'>fd</a>;
|
|
<a id='L118' name='L118'></a> 118 <em class='comment'>// data read from fd</em>
|
|
<a id='L119' name='L119'></a> 119 <strong class='reserved'>char</strong> <a href='../Y/buf.html' title='Multiple used in 655 places.'>buf</a>[<a href='../S/lib--util.h.html#L51' title='Defined at 51 in lib/util.h.'>MC_PIPE_BUFSIZE</a>];
|
|
<a id='L120' name='L120'></a> 120 <em class='comment'>// current position in @buf (used by mc_pstream_get_string())</em>
|
|
<a id='L121' name='L121'></a> 121 <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> <a href='../Y/pos.html' title='Multiple used in 315 places.'>pos</a>;
|
|
<a id='L122' name='L122'></a> 122 <em class='comment'>/* positive: length of data in buf;</em>
|
|
<a id='L123' name='L123'></a> 123 <em class='comment'> * MC_PIPE_STREAM_EOF: EOF of fd;</em>
|
|
<a id='L124' name='L124'></a> 124 <em class='comment'> * MC_PIPE_STREAM_UNREAD: there was not read from fd;</em>
|
|
<a id='L125' name='L125'></a> 125 <em class='comment'> * MC_PIPE_ERROR_READ: reading error from fd.</em>
|
|
<a id='L126' name='L126'></a> 126 <em class='comment'> */</em>
|
|
<a id='L127' name='L127'></a> 127 <a href='../Y/ssize_t.html' title='Multiple used in 180 places.'>ssize_t</a> <a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a>;
|
|
<a id='L128' name='L128'></a> 128 <em class='comment'>// whether buf is null-terminated or not</em>
|
|
<a id='L129' name='L129'></a> 129 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/null_term.html' title='Multiple used in 12 places.'>null_term</a>;
|
|
<a id='L130' name='L130'></a> 130 <em class='comment'>// error code in case of len == MC_PIPE_ERROR_READ</em>
|
|
<a id='L131' name='L131'></a> 131 <strong class='reserved'>int</strong> <a href='../Y/error.html' title='Multiple used in 270 places.'>error</a>;
|
|
<a id='L132' name='L132'></a> 132 <em class='brace'>}</em> <a href='../R/mc_pipe_stream_t.html' title='Multiple referred from 6 places.'>mc_pipe_stream_t</a>;
|
|
<a id='L133' name='L133'></a> 133
|
|
<a id='L134' name='L134'></a> 134 <em class='comment'>/* Pipe descriptor for child process */</em>
|
|
<a id='L135' name='L135'></a> 135 <strong class='reserved'>typedef</strong> <strong class='reserved'>struct</strong>
|
|
<a id='L136' name='L136'></a> 136 <em class='brace'>{</em>
|
|
<a id='L137' name='L137'></a> 137 <em class='comment'>// PID of child process</em>
|
|
<a id='L138' name='L138'></a> 138 GPid <a href='../Y/child_pid.html' title='Multiple used in 3 places.'>child_pid</a>;
|
|
<a id='L139' name='L139'></a> 139 <em class='comment'>// stdout of child process</em>
|
|
<a id='L140' name='L140'></a> 140 <a href='../S/lib--util.h.html#L132' title='Defined at 132 in lib/util.h.'>mc_pipe_stream_t</a> <a href='../Y/out.html' title='Multiple used in 87 places.'>out</a>;
|
|
<a id='L141' name='L141'></a> 141 <em class='comment'>// stderr of child process</em>
|
|
<a id='L142' name='L142'></a> 142 <a href='../S/lib--util.h.html#L132' title='Defined at 132 in lib/util.h.'>mc_pipe_stream_t</a> <a href='../Y/err.html' title='Multiple used in 119 places.'>err</a>;
|
|
<a id='L143' name='L143'></a> 143 <em class='brace'>}</em> <a href='../R/mc_pipe_t.html' title='Multiple referred from 25 places.'>mc_pipe_t</a>;
|
|
<a id='L144' name='L144'></a> 144
|
|
<a id='L145' name='L145'></a> 145 <em class='comment'>/* sighandler_t is GNU extension */</em>
|
|
<a id='L146' name='L146'></a> 146 <em class='sharp'>#ifndef</em> HAVE_SIGHANDLER_T
|
|
<a id='L147' name='L147'></a> 147 <strong class='reserved'>typedef</strong> <strong class='reserved'>void</strong> (*<a href='../Y/sighandler_t.html' title='Multiple used in 12 places.'>sighandler_t</a>) (<strong class='reserved'>int</strong>);
|
|
<a id='L148' name='L148'></a> 148 <em class='sharp'>#endif</em>
|
|
<a id='L149' name='L149'></a> 149
|
|
<a id='L150' name='L150'></a> 150 <em class='comment'>/*** structures declarations (and typedefs of structures)*****************************************/</em>
|
|
<a id='L151' name='L151'></a> 151
|
|
<a id='L152' name='L152'></a> 152 <em class='comment'>/*** global variables defined in .c file *********************************************************/</em>
|
|
<a id='L153' name='L153'></a> 153
|
|
<a id='L154' name='L154'></a> 154 <strong class='reserved'>extern</strong> <strong class='reserved'>struct</strong> <a href='../Y/sigaction.html' title='Multiple used in 28 places.'>sigaction</a> <a href='../Y/startup_handler.html' title='Multiple used in 6 places.'>startup_handler</a>;
|
|
<a id='L155' name='L155'></a> 155
|
|
<a id='L156' name='L156'></a> 156 <em class='comment'>/*** declarations of public functions ************************************************************/</em>
|
|
<a id='L157' name='L157'></a> 157
|
|
<a id='L158' name='L158'></a> 158 <strong class='reserved'>int</strong> <a href='../S/lib--util.c.html#L212' title='Defined at 212 in lib/util.c.'>is_printable</a> (<strong class='reserved'>int</strong> <a href='../Y/c.html' title='Multiple used in 818 places.'>c</a>);
|
|
<a id='L159' name='L159'></a> 159
|
|
<a id='L160' name='L160'></a> 160 <em class='comment'>/* Quote the filename for the purpose of inserting it into the command</em>
|
|
<a id='L161' name='L161'></a> 161 <em class='comment'> * line. If quote_percent is 1, replace "%" with "%%" - the percent is</em>
|
|
<a id='L162' name='L162'></a> 162 <em class='comment'> * processed by the mc command line. */</em>
|
|
<a id='L163' name='L163'></a> 163 <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L224' title='Defined at 224 in lib/util.c.'>name_quote</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/c.html' title='Multiple used in 818 places.'>c</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/quote_percent.html' title='Multiple used in 7 places.'>quote_percent</a>);
|
|
<a id='L164' name='L164'></a> 164
|
|
<a id='L165' name='L165'></a> 165 <em class='comment'>/* returns a duplicate of c. */</em>
|
|
<a id='L166' name='L166'></a> 166 <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L286' title='Defined at 286 in lib/util.c.'>fake_name_quote</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/c.html' title='Multiple used in 818 places.'>c</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/quote_percent.html' title='Multiple used in 7 places.'>quote_percent</a>);
|
|
<a id='L167' name='L167'></a> 167
|
|
<a id='L168' name='L168'></a> 168 <em class='comment'>/* path_trunc() is the same as str_trunc() but</em>
|
|
<a id='L169' name='L169'></a> 169 <em class='comment'> * it deletes possible password from path for security</em>
|
|
<a id='L170' name='L170'></a> 170 <em class='comment'> * reasons. */</em>
|
|
<a id='L171' name='L171'></a> 171 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L306' title='Defined at 306 in lib/util.c.'>path_trunc</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/path.html' title='Multiple used in 439 places.'>path</a>, <strong class='reserved'>const</strong> <a href='../Y/ssize_t.html' title='Multiple used in 180 places.'>ssize_t</a> <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a>);
|
|
<a id='L172' name='L172'></a> 172
|
|
<a id='L173' name='L173'></a> 173 <em class='comment'>/* return a static string representing size, appending "K" or "M" for</em>
|
|
<a id='L174' name='L174'></a> 174 <em class='comment'> * big sizes.</em>
|
|
<a id='L175' name='L175'></a> 175 <em class='comment'> * NOTE: uses the same static buffer as size_trunc_sep. */</em>
|
|
<a id='L176' name='L176'></a> 176 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L328' title='Defined at 328 in lib/util.c.'>size_trunc</a> (<a href='../Y/uintmax_t.html' title='Multiple used in 111 places.'>uintmax_t</a> <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/use_si.html' title='Multiple used in 16 places.'>use_si</a>);
|
|
<a id='L177' name='L177'></a> 177
|
|
<a id='L178' name='L178'></a> 178 <em class='comment'>/* return a static string representing size, appending "K" or "M" for</em>
|
|
<a id='L179' name='L179'></a> 179 <em class='comment'> * big sizes. Separates every three digits by ",".</em>
|
|
<a id='L180' name='L180'></a> 180 <em class='comment'> * NOTE: uses the same static buffer as size_trunc. */</em>
|
|
<a id='L181' name='L181'></a> 181 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L358' title='Defined at 358 in lib/util.c.'>size_trunc_sep</a> (<a href='../Y/uintmax_t.html' title='Multiple used in 111 places.'>uintmax_t</a> <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/use_si.html' title='Multiple used in 16 places.'>use_si</a>);
|
|
<a id='L182' name='L182'></a> 182
|
|
<a id='L183' name='L183'></a> 183 <em class='comment'>/* Print file SIZE to BUFFER, but don't exceed LEN characters,</em>
|
|
<a id='L184' name='L184'></a> 184 <em class='comment'> * not including trailing 0. BUFFER should be at least LEN+1 long.</em>
|
|
<a id='L185' name='L185'></a> 185 <em class='comment'> *</em>
|
|
<a id='L186' name='L186'></a> 186 <em class='comment'> * Units: size units (0=bytes, 1=Kbytes, 2=Mbytes, etc.) */</em>
|
|
<a id='L187' name='L187'></a> 187 <strong class='reserved'>void</strong> <a href='../S/lib--util.c.html#L400' title='Defined at 400 in lib/util.c.'>size_trunc_len</a> (<strong class='reserved'>char</strong> *<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>, <strong class='reserved'>unsigned</strong> <strong class='reserved'>int</strong> <a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a>, <a href='../Y/uintmax_t.html' title='Multiple used in 111 places.'>uintmax_t</a> <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>, <strong class='reserved'>int</strong> <a href='../Y/units.html' title='Multiple used in 4 places.'>units</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/use_si.html' title='Multiple used in 16 places.'>use_si</a>);
|
|
<a id='L188' name='L188'></a> 188 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L520' title='Defined at 520 in lib/util.c.'>string_perm</a> (<a href='../Y/mode_t.html' title='Multiple used in 99 places.'>mode_t</a> <a href='../Y/mode_bits.html' title='Multiple used in 22 places.'>mode_bits</a>);
|
|
<a id='L189' name='L189'></a> 189
|
|
<a id='L190' name='L190'></a> 190 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L577' title='Defined at 577 in lib/util.c.'>extension</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *);
|
|
<a id='L191' name='L191'></a> 191 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L685' title='Defined at 685 in lib/util.c.'>unix_error_string</a> (<strong class='reserved'>int</strong> <a href='../Y/error_num.html' title='Multiple used in 4 places.'>error_num</a>);
|
|
<a id='L192' name='L192'></a> 192 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L700' title='Defined at 700 in lib/util.c.'>skip_separators</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/s.html' title='Multiple used in 822 places.'>s</a>);
|
|
<a id='L193' name='L193'></a> 193 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L714' title='Defined at 714 in lib/util.c.'>skip_numbers</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/s.html' title='Multiple used in 822 places.'>s</a>);
|
|
<a id='L194' name='L194'></a> 194
|
|
<a id='L195' name='L195'></a> 195 <em class='comment'>/* overwrites passwd with '\0's and frees it. */</em>
|
|
<a id='L196' name='L196'></a> 196 <strong class='reserved'>void</strong> <a href='../S/lib--util.c.html#L850' title='Defined at 850 in lib/util.c.'>wipe_password</a> (<strong class='reserved'>char</strong> *<a href='../Y/passwd.html' title='Multiple used in 35 places.'>passwd</a>);
|
|
<a id='L197' name='L197'></a> 197
|
|
<a id='L198' name='L198'></a> 198 <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L869' title='Defined at 869 in lib/util.c.'>diff_two_paths</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../Y/vpath1.html' title='Multiple used in 70 places.'>vpath1</a>, <strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../Y/vpath2.html' title='Multiple used in 66 places.'>vpath2</a>);
|
|
<a id='L199' name='L199'></a> 199
|
|
<a id='L200' name='L200'></a> 200 <em class='comment'>/* Returns the basename of fname. The result is a pointer into fname. */</em>
|
|
<a id='L201' name='L201'></a> 201 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L652' title='Defined at 652 in lib/util.c.'>x_basename</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/fname.html' title='Multiple used in 307 places.'>fname</a>);
|
|
<a id='L202' name='L202'></a> 202
|
|
<a id='L203' name='L203'></a> 203 <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L589' title='Defined at 589 in lib/util.c.'>load_mc_home_file</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/from.html' title='Multiple used in 54 places.'>from</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/filename.html' title='Multiple used in 201 places.'>filename</a>, <strong class='reserved'>char</strong> **<a href='../Y/allocated_filename.html' title='Multiple used in 4 places.'>allocated_filename</a>,
|
|
<a id='L204' name='L204'></a> 204 <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> *<a href='../Y/length.html' title='Multiple used in 182 places.'>length</a>);
|
|
<a id='L205' name='L205'></a> 205
|
|
<a id='L206' name='L206'></a> 206 <em class='comment'>/* uid/gid managing */</em>
|
|
<a id='L207' name='L207'></a> 207 <strong class='reserved'>void</strong> init_groups (<strong class='reserved'>void</strong>);
|
|
<a id='L208' name='L208'></a> 208 <strong class='reserved'>void</strong> destroy_groups (<strong class='reserved'>void</strong>);
|
|
<a id='L209' name='L209'></a> 209 <strong class='reserved'>int</strong> <a href='../S/lib--utilunix.c.html#L1229' title='Defined at 1229 in lib/utilunix.c.'>get_user_permissions</a> (<strong class='reserved'>struct</strong> <a href='../Y/stat.html' title='Multiple used in 287 places.'>stat</a> *<a href='../Y/buf.html' title='Multiple used in 655 places.'>buf</a>);
|
|
<a id='L210' name='L210'></a> 210
|
|
<a id='L211' name='L211'></a> 211 <strong class='reserved'>void</strong> init_uid_gid_cache (<strong class='reserved'>void</strong>);
|
|
<a id='L212' name='L212'></a> 212 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--utilunix.c.html#L296' title='Defined at 296 in lib/utilunix.c.'>get_group</a> (<a href='../Y/gid_t.html' title='Multiple used in 34 places.'>gid_t</a> <a href='../Y/gid.html' title='Multiple used in 16 places.'>gid</a>);
|
|
<a id='L213' name='L213'></a> 213 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--utilunix.c.html#L268' title='Defined at 268 in lib/utilunix.c.'>get_owner</a> (<a href='../Y/uid_t.html' title='Multiple used in 34 places.'>uid_t</a> <a href='../Y/uid.html' title='Multiple used in 29 places.'>uid</a>);
|
|
<a id='L214' name='L214'></a> 214
|
|
<a id='L215' name='L215'></a> 215 <em class='comment'>/* Returns a copy of *s until a \n is found and is below top */</em>
|
|
<a id='L216' name='L216'></a> 216 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L631' title='Defined at 631 in lib/util.c.'>extract_line</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/s.html' title='Multiple used in 822 places.'>s</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/top.html' title='Multiple used in 132 places.'>top</a>, <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> *<a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a>);
|
|
<a id='L217' name='L217'></a> 217
|
|
<a id='L218' name='L218'></a> 218 <em class='comment'>/* System call wrappers */</em>
|
|
<a id='L219' name='L219'></a> 219 <a href='../D/MC_MOCKABLE.html' title='Multiple defined in 2 places.'>MC_MOCKABLE</a> <a href='../Y/sighandler_t.html' title='Multiple used in 12 places.'>sighandler_t</a> <a href='../D/my_signal.html' title='Multiple defined in 2 places.'>my_signal</a> (<strong class='reserved'>int</strong> <a href='../Y/signum.html' title='Multiple used in 10 places.'>signum</a>, <a href='../Y/sighandler_t.html' title='Multiple used in 12 places.'>sighandler_t</a> <a href='../Y/handler.html' title='Multiple used in 31 places.'>handler</a>);
|
|
<a id='L220' name='L220'></a> 220 <a href='../D/MC_MOCKABLE.html' title='Multiple defined in 2 places.'>MC_MOCKABLE</a> <strong class='reserved'>int</strong> <a href='../D/my_sigaction.html' title='Multiple defined in 2 places.'>my_sigaction</a> (<strong class='reserved'>int</strong> <a href='../Y/signum.html' title='Multiple used in 10 places.'>signum</a>, <strong class='reserved'>const</strong> <strong class='reserved'>struct</strong> <a href='../Y/sigaction.html' title='Multiple used in 28 places.'>sigaction</a> *<a href='../Y/act.html' title='Multiple used in 69 places.'>act</a>, <strong class='reserved'>struct</strong> <a href='../Y/sigaction.html' title='Multiple used in 28 places.'>sigaction</a> *<a href='../Y/oldact.html' title='Multiple used in 6 places.'>oldact</a>);
|
|
<a id='L221' name='L221'></a> 221 <a href='../D/MC_MOCKABLE.html' title='Multiple defined in 2 places.'>MC_MOCKABLE</a> <a href='../Y/pid_t.html' title='Multiple used in 24 places.'>pid_t</a> <a href='../D/my_fork.html' title='Multiple defined in 2 places.'>my_fork</a> (<strong class='reserved'>void</strong>);
|
|
<a id='L222' name='L222'></a> 222 <a href='../D/MC_MOCKABLE.html' title='Multiple defined in 2 places.'>MC_MOCKABLE</a> <strong class='reserved'>int</strong> <a href='../D/my_execvp.html' title='Multiple defined in 2 places.'>my_execvp</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/file.html' title='Multiple used in 345 places.'>file</a>, <strong class='reserved'>char</strong> *<strong class='reserved'>const</strong> <a href='../Y/argv.html' title='Multiple used in 79 places.'>argv</a>[]);
|
|
<a id='L223' name='L223'></a> 223 <a href='../D/MC_MOCKABLE.html' title='Multiple defined in 2 places.'>MC_MOCKABLE</a> <strong class='reserved'>char</strong> *<a href='../D/my_get_current_dir.html' title='Multiple defined in 2 places.'>my_get_current_dir</a> (<strong class='reserved'>void</strong>);
|
|
<a id='L224' name='L224'></a> 224
|
|
<a id='L225' name='L225'></a> 225 <em class='comment'>/* Process spawning */</em>
|
|
<a id='L226' name='L226'></a> 226 <strong class='reserved'>int</strong> <a href='../S/lib--utilunix.c.html#L417' title='Defined at 417 in lib/utilunix.c.'>my_system</a> (<strong class='reserved'>int</strong> <a href='../Y/flags.html' title='Multiple used in 398 places.'>flags</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/shell.html' title='Multiple used in 71 places.'>shell</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/command.html' title='Multiple used in 268 places.'>command</a>);
|
|
<a id='L227' name='L227'></a> 227 <strong class='reserved'>int</strong> <a href='../S/lib--utilunix.c.html#L437' title='Defined at 437 in lib/utilunix.c.'>my_systeml</a> (<strong class='reserved'>int</strong> <a href='../Y/flags.html' title='Multiple used in 398 places.'>flags</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/shell.html' title='Multiple used in 71 places.'>shell</a>, ...);
|
|
<a id='L228' name='L228'></a> 228 <strong class='reserved'>int</strong> <a href='../S/lib--utilunix.c.html#L470' title='Defined at 470 in lib/utilunix.c.'>my_systemv</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/command.html' title='Multiple used in 268 places.'>command</a>, <strong class='reserved'>char</strong> *<strong class='reserved'>const</strong> <a href='../Y/argv.html' title='Multiple used in 79 places.'>argv</a>[]);
|
|
<a id='L229' name='L229'></a> 229 <strong class='reserved'>int</strong> <a href='../S/lib--utilunix.c.html#L518' title='Defined at 518 in lib/utilunix.c.'>my_systemv_flags</a> (<strong class='reserved'>int</strong> <a href='../Y/flags.html' title='Multiple used in 398 places.'>flags</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/command.html' title='Multiple used in 268 places.'>command</a>, <strong class='reserved'>char</strong> *<strong class='reserved'>const</strong> <a href='../Y/argv.html' title='Multiple used in 79 places.'>argv</a>[]);
|
|
<a id='L230' name='L230'></a> 230
|
|
<a id='L231' name='L231'></a> 231 <a href='../S/lib--util.h.html#L143' title='Defined at 143 in lib/util.h.'>mc_pipe_t</a> *<a href='../S/lib--utilunix.c.html#L552' title='Defined at 552 in lib/utilunix.c.'>mc_popen</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/command.html' title='Multiple used in 268 places.'>command</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/read_out.html' title='Multiple used in 8 places.'>read_out</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/read_err.html' title='Multiple used in 8 places.'>read_err</a>, <a href='../Y/GError.html' title='Multiple used in 184 places.'>GError</a> **<a href='../Y/error.html' title='Multiple used in 270 places.'>error</a>);
|
|
<a id='L232' name='L232'></a> 232 <strong class='reserved'>void</strong> <a href='../S/lib--utilunix.c.html#L614' title='Defined at 614 in lib/utilunix.c.'>mc_pread</a> (<a href='../S/lib--util.h.html#L143' title='Defined at 143 in lib/util.h.'>mc_pipe_t</a> *<a href='../Y/p.html' title='Multiple used in 1572 places.'>p</a>, <a href='../Y/GError.html' title='Multiple used in 184 places.'>GError</a> **<a href='../Y/error.html' title='Multiple used in 270 places.'>error</a>);
|
|
<a id='L233' name='L233'></a> 233 <strong class='reserved'>void</strong> <a href='../S/lib--utilunix.c.html#L722' title='Defined at 722 in lib/utilunix.c.'>mc_pclose</a> (<a href='../S/lib--util.h.html#L143' title='Defined at 143 in lib/util.h.'>mc_pipe_t</a> *<a href='../Y/p.html' title='Multiple used in 1572 places.'>p</a>, <a href='../Y/GError.html' title='Multiple used in 184 places.'>GError</a> **<a href='../Y/error.html' title='Multiple used in 270 places.'>error</a>);
|
|
<a id='L234' name='L234'></a> 234
|
|
<a id='L235' name='L235'></a> 235 <a href='../Y/GString.html' title='Multiple used in 317 places.'>GString</a> *<a href='../S/lib--utilunix.c.html#L680' title='Defined at 680 in lib/utilunix.c.'>mc_pstream_get_string</a> (<a href='../S/lib--util.h.html#L132' title='Defined at 132 in lib/util.h.'>mc_pipe_stream_t</a> *<a href='../Y/ps.html' title='Multiple used in 20 places.'>ps</a>);
|
|
<a id='L236' name='L236'></a> 236
|
|
<a id='L237' name='L237'></a> 237 <a href='../D/MC_MOCKABLE.html' title='Multiple defined in 2 places.'>MC_MOCKABLE</a> <strong class='reserved'>void</strong> <a href='../D/my_exit.html' title='Multiple defined in 3 places.'>my_exit</a> (<strong class='reserved'>int</strong> <a href='../Y/status.html' title='Multiple used in 186 places.'>status</a>);
|
|
<a id='L238' name='L238'></a> 238 <strong class='reserved'>void</strong> <a href='../S/lib--utilunix.c.html#L327' title='Defined at 327 in lib/utilunix.c.'>save_stop_handler</a> (<strong class='reserved'>void</strong>);
|
|
<a id='L239' name='L239'></a> 239
|
|
<a id='L240' name='L240'></a> 240 <em class='comment'>/* Tilde expansion */</em>
|
|
<a id='L241' name='L241'></a> 241 <strong class='reserved'>char</strong> *<a href='../S/lib--utilunix.c.html#L764' title='Defined at 764 in lib/utilunix.c.'>tilde_expand</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/directory.html' title='Multiple used in 39 places.'>directory</a>);
|
|
<a id='L242' name='L242'></a> 242
|
|
<a id='L243' name='L243'></a> 243 <strong class='reserved'>void</strong> <a href='../S/lib--utilunix.c.html#L815' title='Defined at 815 in lib/utilunix.c.'>canonicalize_pathname_custom</a> (<strong class='reserved'>char</strong> *<a href='../Y/path.html' title='Multiple used in 439 places.'>path</a>, <a href='../S/lib--util.h.html#L96' title='Defined at 96 in lib/util.h.'>canon_path_flags_t</a> <a href='../Y/flags.html' title='Multiple used in 398 places.'>flags</a>);
|
|
<a id='L244' name='L244'></a> 244
|
|
<a id='L245' name='L245'></a> 245 <strong class='reserved'>char</strong> *<a href='../S/lib--utilunix.c.html#L1052' title='Defined at 1052 in lib/utilunix.c.'>mc_realpath</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/path.html' title='Multiple used in 439 places.'>path</a>, <strong class='reserved'>char</strong> *<a href='../Y/resolved_path.html' title='Multiple used in 10 places.'>resolved_path</a>);
|
|
<a id='L246' name='L246'></a> 246
|
|
<a id='L247' name='L247'></a> 247 <em class='comment'>/* Looks for "magic" bytes at the start of the VFS file to guess the</em>
|
|
<a id='L248' name='L248'></a> 248 <em class='comment'> * compression type. Side effect: modifies the file position. */</em>
|
|
<a id='L249' name='L249'></a> 249 <strong class='reserved'>enum</strong> <a href='../S/lib--util.h.html#L98' title='Defined at 98 in lib/util.h.'>compression_type</a> <a href='../S/lib--util.c.html#L728' title='Defined at 728 in lib/util.c.'>get_compression_type</a> (<strong class='reserved'>int</strong> <a href='../Y/fd.html' title='Multiple used in 250 places.'>fd</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/name.html' title='Multiple used in 625 places.'>name</a>);
|
|
<a id='L250' name='L250'></a> 250 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L815' title='Defined at 815 in lib/util.c.'>decompress_extension</a> (<strong class='reserved'>int</strong> <a href='../Y/type.html' title='Multiple used in 295 places.'>type</a>);
|
|
<a id='L251' name='L251'></a> 251
|
|
<a id='L252' name='L252'></a> 252 <a href='../Y/GList.html' title='Multiple used in 182 places.'>GList</a> *<a href='../S/lib--util.c.html#L940' title='Defined at 940 in lib/util.c.'>list_append_unique</a> (<a href='../Y/GList.html' title='Multiple used in 182 places.'>GList</a> *<a href='../Y/list.html' title='Multiple used in 382 places.'>list</a>, <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L253' name='L253'></a> 253
|
|
<a id='L254' name='L254'></a> 254 <em class='comment'>/* Position saving and restoring */</em>
|
|
<a id='L255' name='L255'></a> 255 <em class='comment'>/* Load position for the given filename */</em>
|
|
<a id='L256' name='L256'></a> 256 <strong class='reserved'>void</strong> <a href='../S/lib--util.c.html#L980' title='Defined at 980 in lib/util.c.'>load_file_position</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../Y/filename_vpath.html' title='Multiple used in 235 places.'>filename_vpath</a>, <strong class='reserved'>long</strong> *<a href='../Y/line.html' title='Multiple used in 319 places.'>line</a>, <strong class='reserved'>long</strong> *<a href='../Y/column.html' title='Multiple used in 30 places.'>column</a>, <a href='../Y/off_t.html' title='Multiple used in 615 places.'>off_t</a> *<a href='../Y/offset.html' title='Multiple used in 245 places.'>offset</a>,
|
|
<a id='L257' name='L257'></a> 257 <a href='../Y/GArray.html' title='Multiple used in 83 places.'>GArray</a> **<a href='../Y/bookmarks.html' title='Multiple used in 14 places.'>bookmarks</a>);
|
|
<a id='L258' name='L258'></a> 258 <em class='comment'>/* Save position for the given filename */</em>
|
|
<a id='L259' name='L259'></a> 259 <strong class='reserved'>void</strong> <a href='../S/lib--util.c.html#L1074' title='Defined at 1074 in lib/util.c.'>save_file_position</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../Y/filename_vpath.html' title='Multiple used in 235 places.'>filename_vpath</a>, <strong class='reserved'>long</strong> <a href='../Y/line.html' title='Multiple used in 319 places.'>line</a>, <strong class='reserved'>long</strong> <a href='../Y/column.html' title='Multiple used in 30 places.'>column</a>, <a href='../Y/off_t.html' title='Multiple used in 615 places.'>off_t</a> <a href='../Y/offset.html' title='Multiple used in 245 places.'>offset</a>,
|
|
<a id='L260' name='L260'></a> 260 <a href='../Y/GArray.html' title='Multiple used in 83 places.'>GArray</a> *<a href='../Y/bookmarks.html' title='Multiple used in 14 places.'>bookmarks</a>);
|
|
<a id='L261' name='L261'></a> 261
|
|
<a id='L262' name='L262'></a> 262 <em class='comment'>/* if ch is in [A-Za-z], returns the corresponding control character,</em>
|
|
<a id='L263' name='L263'></a> 263 <em class='comment'> * else returns the argument. */</em>
|
|
<a id='L264' name='L264'></a> 264 <strong class='reserved'>extern</strong> <strong class='reserved'>int</strong> <a href='../S/lib--util.c.html#L1157' title='Defined at 1157 in lib/util.c.'>ascii_alpha_to_cntrl</a> (<strong class='reserved'>int</strong> <a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>);
|
|
<a id='L265' name='L265'></a> 265
|
|
<a id='L266' name='L266'></a> 266 <em class='sharp'>#undef</em> <a href='../R/Q_.html' title='Multiple referred from 73 places.'>Q_</a>
|
|
<a id='L267' name='L267'></a> 267 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../D/Q_.html' title='Multiple defined in 2 places.'>Q_</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/s.html' title='Multiple used in 822 places.'>s</a>);
|
|
<a id='L268' name='L268'></a> 268
|
|
<a id='L269' name='L269'></a> 269 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../S/lib--util.c.html#L1181' title='Defined at 1181 in lib/util.c.'>mc_util_make_backup_if_possible</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/file_name.html' title='Multiple used in 83 places.'>file_name</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/backup_suffix.html' title='Multiple used in 9 places.'>backup_suffix</a>);
|
|
<a id='L270' name='L270'></a> 270 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../S/lib--util.c.html#L1212' title='Defined at 1212 in lib/util.c.'>mc_util_restore_from_backup_if_possible</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/file_name.html' title='Multiple used in 83 places.'>file_name</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/backup_suffix.html' title='Multiple used in 9 places.'>backup_suffix</a>);
|
|
<a id='L271' name='L271'></a> 271 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../S/lib--util.c.html#L1230' title='Defined at 1230 in lib/util.c.'>mc_util_unlink_backup_if_possible</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/file_name.html' title='Multiple used in 83 places.'>file_name</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/backup_suffix.html' title='Multiple used in 9 places.'>backup_suffix</a>);
|
|
<a id='L272' name='L272'></a> 272
|
|
<a id='L273' name='L273'></a> 273 <a href='../D/MC_MOCKABLE.html' title='Multiple defined in 2 places.'>MC_MOCKABLE</a> <strong class='reserved'>char</strong> *<a href='../D/guess_message_value.html' title='Multiple defined in 2 places.'>guess_message_value</a> (<strong class='reserved'>void</strong>);
|
|
<a id='L274' name='L274'></a> 274
|
|
<a id='L275' name='L275'></a> 275 <strong class='reserved'>char</strong> *<a href='../S/lib--utilunix.c.html#L1332' title='Defined at 1332 in lib/utilunix.c.'>mc_build_filename</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/first_element.html' title='Multiple used in 20 places.'>first_element</a>, ...);
|
|
<a id='L276' name='L276'></a> 276 <strong class='reserved'>char</strong> *<a href='../S/lib--utilunix.c.html#L1280' title='Defined at 1280 in lib/utilunix.c.'>mc_build_filenamev</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/first_element.html' title='Multiple used in 20 places.'>first_element</a>, <a href='../Y/va_list.html' title='Multiple used in 36 places.'>va_list</a> <a href='../Y/args.html' title='Multiple used in 109 places.'>args</a>);
|
|
<a id='L277' name='L277'></a> 277
|
|
<a id='L278' name='L278'></a> 278 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/lib--util.c.html#L1298' title='Defined at 1298 in lib/util.c.'>mc_get_profile_root</a> (<strong class='reserved'>void</strong>);
|
|
<a id='L279' name='L279'></a> 279
|
|
<a id='L280' name='L280'></a> 280 <strong class='reserved'>void</strong> <a href='../R/mc_propagate_error.html' title='Multiple referred from 47 places.'>mc_propagate_error</a> (<a href='../Y/GError.html' title='Multiple used in 184 places.'>GError</a> **<a href='../Y/dest.html' title='Multiple used in 81 places.'>dest</a>, <strong class='reserved'>int</strong> <a href='../Y/code.html' title='Multiple used in 84 places.'>code</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/format.html' title='Multiple used in 125 places.'>format</a>, ...) <a href='../D/G_GNUC_PRINTF.html' title='Multiple defined in 6 places.'>G_GNUC_PRINTF</a> (3, 4);
|
|
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><a href='#L298'><img class='icon' src='../icons/right.png' alt='[next]' /></a><img class='icon' src='../icons/n_first.png' alt='[first]' /><a href='#L315'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+280 lib/util.h' /> */</em>
|
|
<a id='L281' name='L281'></a> 281 <strong class='reserved'>void</strong> <a href='../S/lib--util.c.html#L1349' title='Defined at 1349 in lib/util.c.'>mc_replace_error</a> (<a href='../Y/GError.html' title='Multiple used in 184 places.'>GError</a> **<a href='../Y/dest.html' title='Multiple used in 81 places.'>dest</a>, <strong class='reserved'>int</strong> <a href='../Y/code.html' title='Multiple used in 84 places.'>code</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/format.html' title='Multiple used in 125 places.'>format</a>, ...) <a href='../D/G_GNUC_PRINTF.html' title='Multiple defined in 6 places.'>G_GNUC_PRINTF</a> (3, 4);
|
|
<a id='L282' name='L282'></a> 282
|
|
<a id='L283' name='L283'></a> 283 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../S/lib--util.c.html#L1378' title='Defined at 1378 in lib/util.c.'>mc_time_elapsed</a> (<a href='../Y/gint64.html' title='Multiple used in 51 places.'>gint64</a> *<a href='../Y/timestamp.html' title='Multiple used in 14 places.'>timestamp</a>, <a href='../Y/gint64.html' title='Multiple used in 51 places.'>gint64</a> <a href='../Y/delay.html' title='Multiple used in 20 places.'>delay</a>);
|
|
<a id='L284' name='L284'></a> 284
|
|
<a id='L285' name='L285'></a> 285 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L286' name='L286'></a> 286 <em class='comment'>/*** inline functions ****************************************************************************/</em>
|
|
<a id='L287' name='L287'></a> 287 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L288' name='L288'></a> 288
|
|
<a id='L289' name='L289'></a> 289 <strong class='reserved'>static</strong> <strong class='reserved'>inline</strong> <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a>
|
|
<a id='L290' name='L290'></a> 290 <a href='../Y/exist_file.html' title='Multiple used in 43 places.'>exist_file</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/name.html' title='Multiple used in 625 places.'>name</a>)
|
|
<a id='L291' name='L291'></a> 291 <em class='brace'>{</em>
|
|
<a id='L292' name='L292'></a> 292 <strong class='reserved'>return</strong> (<a href='../Y/access.html' title='Multiple used in 14 places.'>access</a> (<a href='../Y/name.html' title='Multiple used in 625 places.'>name</a>, R_OK) == 0);
|
|
<a id='L293' name='L293'></a> 293 <em class='brace'>}</em>
|
|
<a id='L294' name='L294'></a> 294
|
|
<a id='L295' name='L295'></a> 295 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L296' name='L296'></a> 296
|
|
<a id='L297' name='L297'></a> 297 <strong class='reserved'>static</strong> <strong class='reserved'>inline</strong> <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a>
|
|
<a id='L298' name='L298'></a> 298 <a href='../R/is_exe.html' title='Multiple referred from 7 places.'>is_exe</a> (<a href='../Y/mode_t.html' title='Multiple used in 99 places.'>mode_t</a> <a href='../Y/mode.html' title='Multiple used in 188 places.'>mode</a>)
|
|
<em class='comment'>/* <a href='#L280'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L315'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L280'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L315'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+298 lib/util.h' /> */</em>
|
|
<a id='L299' name='L299'></a> 299 <em class='brace'>{</em>
|
|
<a id='L300' name='L300'></a> 300 <strong class='reserved'>return</strong> ((<a href='../Y/mode.html' title='Multiple used in 188 places.'>mode</a> & (<a href='../Y/S_IXUSR.html' title='Multiple used in 7 places.'>S_IXUSR</a> | <a href='../Y/S_IXGRP.html' title='Multiple used in 7 places.'>S_IXGRP</a> | <a href='../Y/S_IXOTH.html' title='Multiple used in 7 places.'>S_IXOTH</a>)) != 0);
|
|
<a id='L301' name='L301'></a> 301 <em class='brace'>}</em>
|
|
<a id='L302' name='L302'></a> 302
|
|
<a id='L303' name='L303'></a> 303 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L304' name='L304'></a> 304 <em class='comment'>/**</em>
|
|
<a id='L305' name='L305'></a> 305 <em class='comment'> * Canonicalize path with CANON_PATH_ALL.</em>
|
|
<a id='L306' name='L306'></a> 306 <em class='comment'> *</em>
|
|
<a id='L307' name='L307'></a> 307 <em class='comment'> * @param path path to file</em>
|
|
<a id='L308' name='L308'></a> 308 <em class='comment'> * @param flags canonicalization flags</em>
|
|
<a id='L309' name='L309'></a> 309 <em class='comment'> *</em>
|
|
<a id='L310' name='L310'></a> 310 <em class='comment'> * All modifications of @path are made in place.</em>
|
|
<a id='L311' name='L311'></a> 311 <em class='comment'> * Well formed UNC paths are modified only in the local part.</em>
|
|
<a id='L312' name='L312'></a> 312 <em class='comment'> */</em>
|
|
<a id='L313' name='L313'></a> 313
|
|
<a id='L314' name='L314'></a> 314 <strong class='reserved'>static</strong> <strong class='reserved'>inline</strong> <strong class='reserved'>void</strong>
|
|
<a id='L315' name='L315'></a> 315 <a href='../R/canonicalize_pathname.html' title='Multiple referred from 13 places.'>canonicalize_pathname</a> (<strong class='reserved'>char</strong> *<a href='../Y/path.html' title='Multiple used in 439 places.'>path</a>)
|
|
<em class='comment'>/* <a href='#L298'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L280'><img class='icon' src='../icons/first.png' alt='[first]' /></a><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+315 lib/util.h' /> */</em>
|
|
<a id='L316' name='L316'></a> 316 <em class='brace'>{</em>
|
|
<a id='L317' name='L317'></a> 317 <a href='../S/lib--utilunix.c.html#L815' title='Defined at 815 in lib/utilunix.c.'>canonicalize_pathname_custom</a> (<a href='../Y/path.html' title='Multiple used in 439 places.'>path</a>, <a href='../S/lib--util.h.html#L94' title='Defined at 94 in lib/util.h.'>CANON_PATH_ALL</a>);
|
|
<a id='L318' name='L318'></a> 318 <em class='brace'>}</em>
|
|
<a id='L319' name='L319'></a> 319
|
|
<a id='L320' name='L320'></a> 320 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L321' name='L321'></a> 321
|
|
<a id='L322' name='L322'></a> 322 <em class='sharp'>#endif</em>
|
|
</pre>
|
|
<hr />
|
|
<a id='BOTTOM' name='BOTTOM'></a>
|
|
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L280'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L315'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+322 lib/util.h' /> */</em>
|
|
</body>
|
|
</html>
|