SysTutorials Posts

  • |

    endnetgrent (3) Linux Manual Page

    NAME setnetgrent, endnetgrent, getnetgrent, getnetgrent_r, innetgr – handle network group entries SYNOPSIS #include <netdb.h> int setnetgrent(const char *netgroup); void endnetgrent(void); int getnetgrent(char **host, char **user, char **domain); int getnetgrent_r(char **host, char **user, char **domain, char *buf, size_t buflen); int innetgr(const char *netgroup, const char *host, const char *user, const char *domain); Feature Test Macro Requirements…

  • |

    endnetent (3) Linux Manual Page

    NAME getnetent, getnetbyname, getnetbyaddr, setnetent, endnetent – get network entry SYNOPSIS #include <netdb.h> struct netent *getnetent(void); struct netent *getnetbyname(const char *name); struct netent *getnetbyaddr(uint32_t net, int type); void setnetent(int stayopen); void endnetent(void); DESCRIPTION The getnetent() function reads the next entry from the networks database and returns a netent structure containing the broken-out fields from the…

  • |

    endmntent (3) Linux Manual Page

    NAME getmntent, setmntent, addmntent, endmntent, hasmntopt, getmntent_r – get filesystem descriptor file entry SYNOPSIS #include <mntent.h> #include <stdio.h> FILE *setmntent(const char *filename, const char *type); struct mntent *getmntent(FILE *stream); int addmntent(FILE *stream, const struct mntent *mnt); int endmntent(FILE *streamp); char *hasmntopt(const struct mntent *mnt, const char *opt); /* GNU extension */ #include <mntent.h> struct mntent…

  • |

    endian (3) Linux Manual Page

    NAME htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh – convert values between host and big-/little-endian byte order SYNOPSIS #include <endian.h> uint16_t htobe16(uint16_t host_16bits); uint16_t htole16(uint16_t host_16bits); uint16_t be16toh(uint16_t big_endian_16bits); uint16_t le16toh(uint16_t little_endian_16bits); uint32_t htobe32(uint32_t host_32bits); uint32_t htole32(uint32_t host_32bits); uint32_t be32toh(uint32_t big_endian_32bits); uint32_t le32toh(uint32_t little_endian_32bits); uint64_t htobe64(uint64_t host_64bits); uint64_t htole64(uint64_t host_64bits);…

  • |

    endhostent (3) Linux Manual Page

    NAME gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent, h_errno, herror, hstrerror, gethostbyaddr_r, gethostbyname2, gethostbyname2_r, gethostbyname_r, gethostent_r – get network host entry SYNOPSIS #include <netdb.h> extern int h_errno; struct hostent *gethostbyname(const char *name); #include <sys/socket.h> /* for AF_INET */ struct hostent *gethostbyaddr(const void *addr, socklen_t len, int type); void sethostent(int stayopen); void endhostent(void); void herror(const char *s); const…

  • |

    endgrent (3) Linux Manual Page

    NAME getgrent, setgrent, endgrent – get group file entry SYNOPSIS #include <grp.h> #include <sys/types.h> struct group *getgrent(void); void setgrent(void); void endgrent(void); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): setgrent(): _XOPEN_SOURCE >= 500     || /* Glibc since 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE getgrent(), endgrent(): Since glibc 2.22:     _XOPEN_SOURCE >= 500 ||         _DEFAULT_SOURCE Glibc 2.21 and earlier     _XOPEN_SOURCE >= 500         || /* Since glibc 2.12: */ _POSIX_C_SOURCE >= 200809L         || /* Glibc versions <= 2.19: */ _BSD_SOURCE…

  • |

    endfsent (3) Linux Manual Page

    NAME getfsent, getfsspec, getfsfile, setfsent, endfsent – handle fstab entries SYNOPSIS #include <fstab.h> void endfsent(void); struct fstab *getfsent(void); struct fstab *getfsfile(const char *mount_point); struct fstab *getfsspec(const char *special_file); int setfsent(void); DESCRIPTION These functions read from the file /etc/fstab. The struct fstab is defined by: struct fstab {     char       *fs_spec;       /* block device name */     char       *fs_file;       /* mount point */     char       *fs_vfstype;    /* file-system type */     char       *fs_mntops;     /* mount…

  • |

    endaliasent (3) Linux Manual Page

    NAME setaliasent, endaliasent, getaliasent, getaliasent_r, getaliasbyname, getaliasbyname_r – read an alias entry SYNOPSIS #include <aliases.h> void setaliasent(void); void endaliasent(void); struct aliasent *getaliasent(void); int getaliasent_r(struct aliasent *result, char *buffer, size_t buflen, struct aliasent **res); struct aliasent *getaliasbyname(const char *name); int getaliasbyname_r(const char *name, struct aliasent *result, char *buffer, size_t buflen, struct aliasent **res); DESCRIPTION One of…

  • |

    end_ (3) Linux Manual Page

    NAME QuantLib::ExtendedLeisenReimer – Leisen & Reimer tree: multiplicative approach. SYNOPSIS #include <ql/experimental/lattices/extendedbinomialtree.hpp> Inherits ExtendedBinomialTree< ExtendedLeisenReimer >. Public Member Functions ExtendedLeisenReimer (const boost::shared_ptr< StochasticProcess1D > &, Time end, Size steps, Real strike) Real underlying (Size i, Size index) const Real probability (Size, Size, Size branch) const Protected Attributes Time end_ Size oddSteps_ Real strike_ Real up_…

  • |

    endOfMonth_ (3) Linux Manual Page

    QuantLib::IborIndex – base class for Inter-Bank-Offered-Rate indexes (e.g. Libor, etc.) Synopsis #include <ql/indexes/iborindex.hpp> Inherits QuantLib::InterestRateIndex. Inherited by Cdor, DailyTenorEuribor, DailyTenorEuribor365, DailyTenorEURLibor, DailyTenorLibor, Euribor, Euribor365, EURLibor, Jibar, Libor, Tibor, TRLibor, and Zibor. Public Member Functions IborIndex (const std::string &familyName, const Period &tenor, Natural settlementDays, const Currency &currency, const Calendar &fixingCalendar, BusinessDayConvention convention, bool endOfMonth, const DayCounter…

  • |

    endOfMonth (3) Linux Manual Page

    QuantLib::IborIndex – base class for Inter-Bank-Offered-Rate indexes (e.g. Libor, etc.) Synopsis #include <ql/indexes/iborindex.hpp> Inherits QuantLib::InterestRateIndex. Inherited by Cdor, DailyTenorEuribor, DailyTenorEuribor365, DailyTenorEURLibor, DailyTenorLibor, Euribor, Euribor365, EURLibor, Jibar, Libor, Tibor, TRLibor, and Zibor. Public Member Functions IborIndex (const std::string &familyName, const Period &tenor, Natural settlementDays, const Currency &currency, const Calendar &fixingCalendar, BusinessDayConvention convention, bool endOfMonth, const DayCounter…

  • |

    endDiscount_ (3) Linux Manual Page

    QuantLib::HybridHestonHullWhiteProcess – Hybrid Heston Hull-White stochastic process. Synopsis #include <ql/processes/hybridhestonhullwhiteprocess.hpp> Inherits QuantLib::JointStochasticProcess. Public Member Functions HybridHestonHullWhiteProcess (const boost::shared_ptr< HestonProcess > &hestonProcess, const boost::shared_ptr< HullWhiteForwardProcess > &hullWhiteProcess, Real corrEquityShortRate, Size factors) void preEvolve (Time t0, const Array &x0, Time dt, const Array &dw) const Disposable< Array > postEvolve (Time t0, const Array &x0, Time dt, const…

  • |

    endDates (3) Linux Manual Page

    QuantLib::CapFloor::arguments – Arguments for cap/floor calculation Synopsis #include <ql/instruments/capfloor.hpp> Inherits QuantLib::PricingEngine::arguments. Public Member Functions void validate () const Public Attributes CapFloor::Type type std::vector< Date > startDates std::vector< Date > fixingDates std::vector< Date > endDates std::vector< Time > accrualTimes std::vector< Rate > capRates std::vector< Rate > floorRates std::vector< Rate > forwards std::vector< Real > gearings std::vector<…

  • |

    endDate (3) Linux Manual Page

    QuantLib::DateInterval – Date interval described by a number of a given time unit. Synopsis #include <ql/experimental/commodities/dateinterval.hpp> Inherited by PricingPeriod. Public Member Functions DateInterval (const Date &startDate, const Date &endDate) const Date & startDate () const const Date & endDate () const bool isDateBetween (Date date, bool includeFirst=true, bool includeLast=true) const DateInterval intersection (const DateInterval &di)…

  • |

    encrypt_r (3) Linux Manual Page

    NAME encrypt, setkey, encrypt_r, setkey_r – encrypt 64-bit messages SYNOPSIS #define _XOPEN_SOURCE /* See feature_test_macros(7) */ #include <unistd.h> void encrypt(char block[64], int edflag); #define _XOPEN_SOURCE /* See feature_test_macros(7) */ #include <stdlib.h> void setkey(const char *key); #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <crypt.h> void setkey_r(const char *key, struct crypt_data *data); void encrypt_r(char *block, int edflag,…

  • |

    encrypt (3) Linux Manual Page

    NAME encrypt, setkey, encrypt_r, setkey_r – encrypt 64-bit messages SYNOPSIS #define _XOPEN_SOURCE /* See feature_test_macros(7) */ #include <unistd.h> void encrypt(char block[64], int edflag); #define _XOPEN_SOURCE /* See feature_test_macros(7) */ #include <stdlib.h> void setkey(const char *key); #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <crypt.h> void setkey_r(const char *key, struct crypt_data *data); void encrypt_r(char *block, int edflag,…

  • |

    encfuncs (3) Linux Manual Page

    NAME Functions for Encoding – Modules Configuration keys for the encoder ctl interface. Encoder CTL settings. Macros #define OD_SET_QUANT 4000 Set the quantizer scale. #define OD_SET_COMPLEXITY 4002 Configure the encoder’s computational complexity level. #define OD_GET_COMPLEXITY 4004 Get the encoder’s computational complexity level. #define OD_SET_ACTIVITY_MASKING 4006 Whether activity masking should be used or not. #define OD_SET_QM…

  • |

    enable_triple_buffer (3) Linux Manual Page

    NAME enable_triple_buffer – Enables triple buffering. Allegro game programming library. SYNOPSIS #include <allegro.h> int enable_triple_buffer(); DESCRIPTION If the GFX_CAN_TRIPLE_BUFFER bit of the gfx_capabilities field is not set, you can attempt to enable it by calling this function. In particular if you are running in mode-X in a clean DOS environment, this routine will enable the…