Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 723830890bac44da3d113209b14e090b > files > 335

sbcl-1.0.31-1mdv2010.0.i586.rpm

<html lang="en">
<head>
<title>File-descriptors - SBCL 1.0.31 User Manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="SBCL 1.0.31 User Manual">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Types.html#Types" title="Types">
<link rel="next" href="Filenames.html#Filenames" title="Filenames">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--

     This manual is part of the SBCL software system. See the `README'
     file for more information.

     This manual is largely derived from the manual for the CMUCL
     system, which was produced at Carnegie Mellon University and later
     released into the public domain. This manual is in the public
     domain and is provided with absolutely no warranty. See the
     `COPYING' and `CREDITS' files for more information.
   -->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
  span.sc    { font-variant:small-caps }
  span.roman { font-family:serif; font-weight:normal; } 
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
--></style>
</head>
<body>
<div class="node">
<a name="File-descriptors"></a>
<a name="File_002ddescriptors"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Filenames.html#Filenames">Filenames</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Types.html#Types">Types</a>
<hr>
</div>

<h5 class="subsubsection">16.3.2.1 File-descriptors</h5>

<p><a name="Type-sb_002dposix_003afile_002ddescriptor"></a>

<div class="defun">
&mdash; Type: <b>sb-posix:file-descriptor</b><var><a name="index-sb_002dposix_003afile_002ddescriptor-618"></a></var><br>
<blockquote><p><a name="index-sb_002dposix_003afile_002ddescriptor-619"></a>A <code>fixnum</code> designating a native file descriptor.

        <p><code>sb-sys:make-fd-stream</code> can be used to construct a <code>file-stream</code> associated with a
native file descriptor.

        <p>Note that mixing I/O operations on a <code>file-stream</code> with operations directly on its
descriptor may produce unexpected results if the stream is buffered. 
</p></blockquote></div>

   <p><a name="Type-sb_002dposix_003afile_002ddescriptor_002ddesignator"></a>

<div class="defun">
&mdash; Type: <b>sb-posix:file-descriptor-designator</b><var><a name="index-sb_002dposix_003afile_002ddescriptor_002ddesignator-620"></a></var><br>
<blockquote><p><a name="index-sb_002dposix_003afile_002ddescriptor_002ddesignator-621"></a>Designator for a <code>file-descriptor:</code> either a fixnum designating itself, or
a <code>file-stream</code> designating the underlying file-descriptor. 
</p></blockquote></div>

   <p><a name="Function-sb_002dposix_003afile_002ddescriptor"></a>

<div class="defun">
&mdash; Function: <b>sb-posix:file-descriptor</b><var> file-descriptor<a name="index-sb_002dposix_003afile_002ddescriptor-622"></a></var><br>
<blockquote><p><a name="index-sb_002dposix_003afile_002ddescriptor-623"></a>Converts <code>file-descriptor-designator</code> into a <code>file-descriptor</code>. 
</p></blockquote></div>

   </body></html>