macOS
brew install cprotolocal Homebrew formula metadata
sudo port install cprotoMacPorts ports tree · devel/cproto/Portfile · 来源: api.github.com
安装
brew install cprotolocal Homebrew formula metadata
sudo port install cprotoMacPorts ports tree · devel/cproto/Portfile · 来源: api.github.com
sudo apk add cprotoAlpine Linux edge package indexes · cproto · 来源: dl-cdn.alpinelinux.org
sudo apt install cprotoDebian stable package indexes · cproto · 来源: deb.debian.org
sudo dnf install cprotoFedora Rawhide package metadata · cproto · 来源: dl.fedoraproject.org
nix profile install nixpkgs#cprotonixpkgs package indexes · pkgs/by-name/cp/cproto/package.nix · 来源: api.github.com
概览
Generate function prototypes for functions in input files
历史
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.
安全态势
没有找到 cproto 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cproto | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://invisible-island.net/cproto/
安装元数据
| 软件包键 | brew:cproto |
|---|---|
| 版本 | 4.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cproto |
| 主页 | https://invisible-island.net/cproto/ |
| 仓库 | https://github.com/ThomasDickey/cproto-snapshots |
| 上游文档 | https://invisible-island.net/cproto/cproto.html |
| 许可证 | LicenseRef-Homebrew-public-domain |
| 源码归档 | https://invisible-mirror.net/archives/cproto/cproto-4.8.tgz |
| 最后更新 | 2026-05-15T23:57:12Z |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 cproto来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.