Portable C Error Printing
fix license issue
initial commit


browse  log 



You can also use your local clone with git send-email.

#err.c — Portable error printing

version: 2.0.0 standards: C99 license: MPL-2.0

Contains the err and warn family of functions from *BSD. Also includes the {get,set}progname pair of functions.

See err.h for more information.


  • C compiler and libc supporting the C99 standard.
  • libc MUST NOT have its own implementations of the err family of functions.


This repo is part of the Smol C Libs project.

The upstream URL of this project is https://git.sr.ht/~nytpu/err.c. Send suggestions, bugs, patches, and other contributions to ~nytpu/public-inbox@lists.sr.ht. For help sending a patch through email, see https://git-send-email.io. You can browse the list archives at https://lists.sr.ht/~nytpu/public-inbox.

Copyright (C) 2021 nytpu <alex [at] nytpu.com>.

Licensed under the terms of the Mozilla Public License, version 2.0. You can view a copy of the MPL in LICENSE or at https://mozilla.org/MPL/2.0.


The source code conforms to ISO/IEC 9899:1999 ("ISO C99") in all cases where said standard is applicable.