SysTutorials Posts

  • |

    ffcall-trampoline (3) Linux Manual Page

    NAME trampoline – closures as first-class C functions SYNOPSIS #include <trampoline.h> function = alloc_trampoline(address, variable, data); free_trampoline(function); is_trampoline(function) trampoline_address(function) trampoline_variable(function) trampoline_data(function) DESCRIPTION These functions implement closures as first-class C functions. A closure consists of a regular C function and a piece of data which gets passed to the C function when the closure is called….

  • |

    ffcall-callback (3) Linux Manual Page

    NAME callback – closures with variable arguments as first-class C functions SYNOPSIS #include <callback.h> void function(data, alist) void *data; va_alist alist; { va_start_type(alist[, return_type]); arg = va_arg_type(alist[, arg_type]); va_return_type(alist[[, return_type ], return_value]); } callback = alloc_callback(&function, data); free_callback(callback); is_callback(callback) callback_address(callback) callback_data(callback) DESCRIPTION These functions implement closures with variable arguments as first-class C functions. Closures as…

  • |

    ffcall-avcall (3) Linux Manual Page

    NAME avcall – build a C argument list incrementally and call a C function on it. SYNOPSIS #include <avcall.h> av_alist alist; av_start_type(alist, &func [[, return_type], &return_value]); av_type(alist, [arg_type,] value); av_call(alist); DESCRIPTION This set of macros builds an argument list for a C function and calls the function on it. It significantly reduces the amount of…

  • |

    fexecve (3) Linux Manual Page

    NAME fexecve – execute program specified via file descriptor SYNOPSIS #include <unistd.h> int fexecve(int fd, char *const argv[], char *const envp[]); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): fexecve(): Since glibc 2.10: _POSIX_C_SOURCE >= 200809L Before glibc 2.10: _GNU_SOURCE DESCRIPTION fexecve() performs the same task as execve(2), with the difference that the file to be executed…

  • |

    fexcept_t (3) Linux Manual Page

    NAME system_data_types – overview of system data types DESCRIPTION aiocb 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:…

  • |

    feupdateenv (3) Linux Manual Page

    NAME 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);…

  • |

    fetestexcept (3) Linux Manual Page

    NAME 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);…

  • |

    fetchResults (3) Linux Manual Page

    QuantLib::EnergyCommodity – Energy commodity class. Synopsis #include <ql/experimental/commodities/energycommodity.hpp> Inherits QuantLib::Commodity. Inherited by EnergyFuture, and EnergySwap. Public Types enum DeliverySchedule { Constant, Window, Hourly, Daily, Weekly, Monthly, Quarterly, Yearly } enum QuantityPeriodicity { Absolute, PerHour, PerDay, PerWeek, PerMonth, PerQuarter, PerYear } enum PaymentSchedule { WindowSettlement, MonthlySettlement, QuarterlySettlement, YearlySettlement } Public Member Functions EnergyCommodity (const CommodityType &commodityType,…

  • |

    fesetround (3) Linux Manual Page

    NAME 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);…

  • |

    fesetexceptflag (3) Linux Manual Page

    NAME 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);…

  • |

    fesetenv (3) Linux Manual Page

    NAME 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);…

  • |

    ferror_unlocked (3) Linux Manual Page

    NAME 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,…

  • |

    ferror (3) Linux Manual Page

    NAME 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 DESCRIPTION The function clearerr() clears the end-of-file and error indicators for the stream pointed to by stream. The function…

  • |

    feraiseexcept (3) Linux Manual Page

    NAME 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);…

  • |

    feof_unlocked (3) Linux Manual Page

    NAME 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,…

  • |

    feof (3) Linux Manual Page

    NAME 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 DESCRIPTION The function clearerr() clears the end-of-file and error indicators for the stream pointed to by stream. The function…

  • |

    fenv_t (3) Linux Manual Page

    NAME system_data_types – overview of system data types DESCRIPTION aiocb 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:…

  • |

    fenv (3) Linux Manual Page

    NAME 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);…

  • |

    feholdexcept (3) Linux Manual Page

    NAME 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);…

  • |

    fegetround (3) Linux Manual Page

    NAME 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);…