macOS
brew install cprotolocal Homebrew formula metadata
sudo port install cprotoMacPorts ports tree · devel/cproto/Portfile · source: api.github.com
brew
Generate function prototypes for functions in input files. Version 4.8 via Homebrew; verified 2026-05-15.
install
brew install cprotolocal Homebrew formula metadata
sudo port install cprotoMacPorts ports tree · devel/cproto/Portfile · source: api.github.com
sudo apk add cprotoAlpine Linux edge package indexes · cproto · source: dl-cdn.alpinelinux.org
sudo apt install cprotoDebian stable package indexes · cproto · source: deb.debian.org
sudo dnf install cprotoFedora Rawhide package metadata · cproto · source: dl.fedoraproject.org
nix profile install nixpkgs#cprotonixpkgs package indexes · pkgs/by-name/cp/cproto/package.nix · source: api.github.com
overview
Generate function prototypes for functions in input files
history
cproto is a long-lived C source utility for generating function prototypes and declarations from C input files. It also supports conversions between old-style K&R function definitions and ANSI C style, plus lint-library generation.
The official history says Chin Huang wrote and maintained cproto while at the University of Waterloo, with the first public version posted to comp.sources.unix in October 1989. Updates followed on comp.sources.misc through the early 1990s.
Thomas E. Dickey began working on cproto in June 1993, sending fixes and improvements to Huang. His work added lint-library support, GNU configure support, regression tests, diagnostics, and ports including VAX/VMS and HP/Apollo.
The modern Invisible Island page documents Dickey's continued maintenance, occasional fixes, generated documentation, release archives, and an official GitHub snapshots repository.
cproto spread through the Unix source-sharing ecosystem before modern package managers, with releases posted to comp.sources.unix and comp.sources.misc. The official page later cataloged downstream package references for Debian, RPM-based systems, SlackBuilds, FreshPorts, NetBSD pkgsrc, AIX, HP-UX, and Repology.
The manpage describes cproto as reading C source files or standard input and writing generated function prototypes to standard output. It can process K&R or ANSI-style definitions, optionally emit variable declarations, convert source forms, and generate lint-library source.
cproto is a classic small Unix development tool: it predates Git hosting, has Usenet-release provenance, uses generated manpage documentation, and remains packaged because it solves a narrow C maintenance problem that still appears in legacy codebases.
security posture
No matching local secret-handling manifest was found for cproto. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cproto | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://invisible-island.net/cproto/
install metadata
| Package key | brew:cproto |
|---|---|
| Version | 4.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cproto |
| Homepage | https://invisible-island.net/cproto/ |
| Repository | https://github.com/ThomasDickey/cproto-snapshots |
| Upstream docs | https://invisible-island.net/cproto/cproto.html |
| License | LicenseRef-Homebrew-public-domain |
| Source archive | https://invisible-mirror.net/archives/cproto/cproto-4.8.tgz |
| Last updated | 2026-05-15T23:57:12Z |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cproto |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cproto 4.7x-1
utilities to generate C function prototypes from C source code
https://invisible-island.net/cproto/cproto.html
sudo apt install cprotocproto
nix profile install nixpkgs#cprotocproto 4.7v-2
utilities to generate C function prototypes from C source code
https://invisible-island.net/cproto/cproto.html
sudo apt install cprotocproto 4.7y-r1
Generate C function prototypes from C source code
https://invisible-island.net/cproto/
sudo apk add cprotocproto-doc 4.7y-r1
Generate C function prototypes from C source code (documentation)
https://invisible-island.net/cproto/
sudo apk add cproto-doccproto 4.8-1.fc45
Generates function prototypes and variable declarations from C code
sudo dnf install cprotocproto
sudo port install cprotosource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.