Skip to content

mulle-core/mulle-fprintf

Repository files navigation

mulle-fprintf

🔢 mulle-fprintf marries mulle-sprintf to stdio.h

See mulle-sprintf for details about the supported conversions.

Release Version Release Notes AI Documentation
Mulle kybernetiK tag Build Status RELEASENOTES DeepWiki for mulle-fprintf

API

Function Description
mulle_printf Like printf prints to stdout
mulle_vprintf <stdarg.h> variant of mulle_printf
mulle_fprintf Prints to FILE
mulle_vfprintf <stdarg.h> variant of mulle_fprintf

You are here

Overview

Add

This project is a component of the mulle-core library. As such you usually will not add or install it individually, unless you specifically do not want to link against mulle-core.

Add as an individual component

Use mulle-sde to add mulle-fprintf to your project:

mulle-sde add github:mulle-core/mulle-fprintf

To only add the sources of mulle-fprintf with dependency sources use clib:

clib install --out src/mulle-core mulle-core/mulle-fprintf

Add -isystem src/mulle-core to your CFLAGS and compile all the sources that were downloaded with your project.

Install

Use mulle-sde to build and install mulle-fprintf and all dependencies:

mulle-sde install --prefix /usr/local \
   https://github.com/mulle-core/mulle-fprintf/archive/latest.tar.gz

Legacy Installation

Install the requirements:

Requirements Description
mulle-sprintf 🔢 An extensible sprintf function supporting stdarg and mulle-vararg

Download the latest tar or zip archive and unpack it.

Install mulle-fprintf into /usr/local with cmake:

PREFIX_DIR="/usr/local"
cmake -B build                               \
      -DMULLE_SDK_PATH="${PREFIX_DIR}"       \
      -DCMAKE_INSTALL_PREFIX="${PREFIX_DIR}" \
      -DCMAKE_PREFIX_PATH="${PREFIX_DIR}"    \
      -DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config Release

Author

Nat! for Mulle kybernetiK

About

🔢 mulle-fprintf marries mulle-sprintf to stdio.h

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •