Linux Manuals session 3

Section 3: library functions

  • |

    ferror (3) Linux Manual Page

    clearerr, feof, ferror, fileno – check and reset stream status Synopsis#include <stdio.h> void clearerr(FILE *stream); int feof(FILE *stream); int ferror(FILE *stream); int fileno(FILE *stream); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): fileno(): _POSIX_C_SOURCE DescriptionThe function clearerr() clears the end-of-file and error indicators for the stream pointed to by stream. The function feof() tests the…

  • |

    feraiseexcept (3) Linux Manual Page

    feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, fesetenv, feupdateenv, feenableexcept, fedisableexcept, fegetexcept – floating-point rounding and exception handling Synopsis#include <fenv.h> int feclearexcept(int excepts); int fegetexceptflag(fexcept_t *flagp, int excepts); int feraiseexcept(int excepts); int fesetexceptflag(const fexcept_t *flagp, int excepts); int fetestexcept(int excepts); int fegetround(void); int fesetround(int rounding_mode); int fegetenv(fenv_t *envp); int feholdexcept(fenv_t *envp); int fesetenv(const…

  • |

    feof_unlocked (3) Linux Manual Page

    getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked – nonlocking stdio functions Synopsis#include <stdio.h> int getc_unlocked(FILE *stream); int getchar_unlocked(void); int putc_unlocked(int c, FILE *stream); int putchar_unlocked(int c); void clearerr_unlocked(FILE *stream); int feof_unlocked(FILE *stream); int ferror_unlocked(FILE *stream); int fileno_unlocked(FILE *stream); int fflush_unlocked(FILE *stream); int fgetc_unlocked(FILE *stream); int fputc_unlocked(int c, FILE *stream); size_t fread_unlocked(void *ptr, size_t size, size_t n, FILE *stream);…

  • |

    feof (3) Linux Manual Page

    clearerr, feof, ferror, fileno – check and reset stream status Synopsis#include <stdio.h> void clearerr(FILE *stream); int feof(FILE *stream); int ferror(FILE *stream); int fileno(FILE *stream); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): fileno(): _POSIX_C_SOURCE DescriptionThe function clearerr() clears the end-of-file and error indicators for the stream pointed to by stream. The function feof() tests the…

  • |

    fenv_t (3) Linux Manual Page

    system_data_types – overview of system data types Descriptionaiocb Include: <aio.h>. struct aiocb {     int             aio_fildes;    /* File descriptor */     off_t           aio_offset;    /* File offset */     volatile void  *aio_buf;       /* Location of buffer */     size_t          aio_nbytes;    /* Length of transfer */     int             aio_reqprio;   /* Request priority offset */     struct sigevent aio_sigevent;  /* Signal number and value */     int             aio_lio_opcode;/* Operation to be performed */ }; For further information about this structure, see aio(7). Conforming to: POSIX.1-2001 and later. See also: aio_cancel(3), aio_error(3),…

  • |

    fenv (3) Linux Manual Page

    feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, fesetenv, feupdateenv, feenableexcept, fedisableexcept, fegetexcept – floating-point rounding and exception handling Synopsis#include <fenv.h> int feclearexcept(int excepts); int fegetexceptflag(fexcept_t *flagp, int excepts); int feraiseexcept(int excepts); int fesetexceptflag(const fexcept_t *flagp, int excepts); int fetestexcept(int excepts); int fegetround(void); int fesetround(int rounding_mode); int fegetenv(fenv_t *envp); int feholdexcept(fenv_t *envp); int fesetenv(const…

  • |

    feholdexcept (3) Linux Manual Page

    feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, fesetenv, feupdateenv, feenableexcept, fedisableexcept, fegetexcept – floating-point rounding and exception handling Synopsis#include <fenv.h> int feclearexcept(int excepts); int fegetexceptflag(fexcept_t *flagp, int excepts); int feraiseexcept(int excepts); int fesetexceptflag(const fexcept_t *flagp, int excepts); int fetestexcept(int excepts); int fegetround(void); int fesetround(int rounding_mode); int fegetenv(fenv_t *envp); int feholdexcept(fenv_t *envp); int fesetenv(const…

  • |

    fegetround (3) Linux Manual Page

    feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, fesetenv, feupdateenv, feenableexcept, fedisableexcept, fegetexcept – floating-point rounding and exception handling Synopsis#include <fenv.h> int feclearexcept(int excepts); int fegetexceptflag(fexcept_t *flagp, int excepts); int feraiseexcept(int excepts); int fesetexceptflag(const fexcept_t *flagp, int excepts); int fetestexcept(int excepts); int fegetround(void); int fesetround(int rounding_mode); int fegetenv(fenv_t *envp); int feholdexcept(fenv_t *envp); int fesetenv(const…

  • |

    fegetexceptflag (3) Linux Manual Page

    feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, fesetenv, feupdateenv, feenableexcept, fedisableexcept, fegetexcept – floating-point rounding and exception handling Synopsis#include <fenv.h> int feclearexcept(int excepts); int fegetexceptflag(fexcept_t *flagp, int excepts); int feraiseexcept(int excepts); int fesetexceptflag(const fexcept_t *flagp, int excepts); int fetestexcept(int excepts); int fegetround(void); int fesetround(int rounding_mode); int fegetenv(fenv_t *envp); int feholdexcept(fenv_t *envp); int fesetenv(const…

  • |

    fegetexcept (3) Linux Manual Page

    feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, fesetenv, feupdateenv, feenableexcept, fedisableexcept, fegetexcept – floating-point rounding and exception handling Synopsis#include <fenv.h> int feclearexcept(int excepts); int fegetexceptflag(fexcept_t *flagp, int excepts); int feraiseexcept(int excepts); int fesetexceptflag(const fexcept_t *flagp, int excepts); int fetestexcept(int excepts); int fegetround(void); int fesetround(int rounding_mode); int fegetenv(fenv_t *envp); int feholdexcept(fenv_t *envp); int fesetenv(const…

  • |

    fegetenv (3) Linux Manual Page

    feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, fesetenv, feupdateenv, feenableexcept, fedisableexcept, fegetexcept – floating-point rounding and exception handling Synopsis#include <fenv.h> int feclearexcept(int excepts); int fegetexceptflag(fexcept_t *flagp, int excepts); int feraiseexcept(int excepts); int fesetexceptflag(const fexcept_t *flagp, int excepts); int fetestexcept(int excepts); int fegetround(void); int fesetround(int rounding_mode); int fegetenv(fenv_t *envp); int feholdexcept(fenv_t *envp); int fesetenv(const…

  • |

    feenableexcept (3) Linux Manual Page

    feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, fesetenv, feupdateenv, feenableexcept, fedisableexcept, fegetexcept – floating-point rounding and exception handling Synopsis#include <fenv.h> int feclearexcept(int excepts); int fegetexceptflag(fexcept_t *flagp, int excepts); int feraiseexcept(int excepts); int fesetexceptflag(const fexcept_t *flagp, int excepts); int fetestexcept(int excepts); int fegetround(void); int fesetround(int rounding_mode); int fegetenv(fenv_t *envp); int feholdexcept(fenv_t *envp); int fesetenv(const…

  • |

    fedisableexcept (3) Linux Manual Page

    feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, fesetenv, feupdateenv, feenableexcept, fedisableexcept, fegetexcept – floating-point rounding and exception handling Synopsis#include <fenv.h> int feclearexcept(int excepts); int fegetexceptflag(fexcept_t *flagp, int excepts); int feraiseexcept(int excepts); int fesetexceptflag(const fexcept_t *flagp, int excepts); int fetestexcept(int excepts); int fegetround(void); int fesetround(int rounding_mode); int fegetenv(fenv_t *envp); int feholdexcept(fenv_t *envp); int fesetenv(const…

  • |

    feclearexcept (3) Linux Manual Page

    feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, fesetenv, feupdateenv, feenableexcept, fedisableexcept, fegetexcept – floating-point rounding and exception handling Synopsis#include <fenv.h> int feclearexcept(int excepts); int fegetexceptflag(fexcept_t *flagp, int excepts); int feraiseexcept(int excepts); int fesetexceptflag(const fexcept_t *flagp, int excepts); int fetestexcept(int excepts); int fegetround(void); int fesetround(int rounding_mode); int fegetenv(fenv_t *envp); int feholdexcept(fenv_t *envp); int fesetenv(const…

  • |

    fdtypedefs (3) Linux Manual Page

    ql/methods/finitedifferences/fdtypedefs.hpp – default choices for template instantiations Synopsis#include <ql/methods/finitedifferences/cranknicolson.hpp> #include <ql/methods/finitedifferences/parallelevolver.hpp> Typedefstypedef FiniteDifferenceModel< CrankNicolson< TridiagonalOperator > > StandardFiniteDifferenceModel default choice for finite-difference model typedef FiniteDifferenceModel< ParallelEvolver< CrankNicolson< TridiagonalOperator > > > StandardSystemFiniteDifferenceModel default choice for parallel finite-difference model typedef StepCondition< Array > StandardStepCondition default choice for step condition typedef CurveDependentStepCondition< Array > StandardCurveDependentStepCondition Detailed Descriptiondefault…

  • |

    fdopendir (3) Linux Manual Page

    opendir, fdopendir – open a directory Synopsis#include <sys/types.h> #include <dirent.h> DIR *opendir(const char *name); DIR *fdopendir(int fd);Feature Test Macro Requirements for glibc (see feature_test_macros(7)): fdopendir(): Since glibc 2.10: _POSIX_C_SOURCE >= 200809L Before glibc 2.10: _GNU_SOURCEDescriptionThe opendir() function opens a directory stream corresponding to the directory name, and returns a pointer to the directory stream. The stream is…

  • |

    fdopen (3) Linux Manual Page

    fopen, fdopen, freopen – stream open functions Synopsis#include <stdio.h> FILE *fopen(const char *pathname, const char *mode); FILE *fdopen(int fd, const char *mode); FILE *freopen(const char *pathname, const char *mode, FILE *stream);Feature Test Macro Requirements for glibc (see feature_test_macros(7)): fdopen(): _POSIX_C_SOURCE DescriptionThe fopen() function opens the file whose name is the string pointed to by pathname…

  • |

    fdmhestonsolver (3) Linux Manual Page

    ql/experimental/finitedifferences/fdmhestonsolver.hpp – Synopsis#include <ql/handle.hpp> #include <ql/patterns/lazyobject.hpp> #include <ql/processes/hestonprocess.hpp> #include <ql/math/interpolations/bicubicsplineinterpolation.hpp> #include <ql/experimental/finitedifferences/fdmmesher.hpp> #include <ql/experimental/finitedifferences/fdmhestonop.hpp> #include <ql/experimental/finitedifferences/fdmdirichletboundary.hpp> #include <ql/experimental/finitedifferences/fdmstepconditioncomposite.hpp> #include <ql/experimental/finitedifferences/fdmsnapshotcondition.hpp> Detailed DescriptionAuthorGenerated automatically by Doxygen for QuantLib from the source code.

  • |

    fdmhestonhullwhiteop (3) Linux Manual Page

    ql/experimental/finitedifferences/fdmhestonhullwhiteop.hpp – Heston Hull White linear operator. Synopsis#include <ql/processes/hestonprocess.hpp> #include <ql/processes/hullwhiteprocess.hpp> #include <ql/experimental/finitedifferences/firstderivativeop.hpp> #include <ql/experimental/finitedifferences/triplebandlinearop.hpp> #include <ql/experimental/finitedifferences/ninepointlinearop.hpp> #include <ql/experimental/finitedifferences/fdmlinearopcomposite.hpp> Detailed DescriptionHeston Hull White linear operator. AuthorGenerated automatically by Doxygen for QuantLib from the source code.

  • |

    fdmblackscholessolver (3) Linux Manual Page

    ql/experimental/finitedifferences/fdmblackscholessolver.hpp – Synopsis#include <ql/handle.hpp> #include <ql/patterns/lazyobject.hpp> #include <ql/processes/blackscholesprocess.hpp> #include <ql/math/interpolations/cubicinterpolation.hpp> #include <ql/experimental/finitedifferences/fdmmesher.hpp> #include <ql/experimental/finitedifferences/fdmdirichletboundary.hpp> #include <ql/experimental/finitedifferences/fdmstepconditioncomposite.hpp> #include <ql/experimental/finitedifferences/fdmsnapshotcondition.hpp> Detailed DescriptionAuthorGenerated automatically by Doxygen for QuantLib from the source code.