misc/dync - The NetBSD Packages Collection

C language awk-like utility

The dync utility is a small, but quite useful utility, which allows
the use of C as a scripting language.  This can be quite useful
****SOMETIMES****, allowing access to system calls and library functions
from the command line.  For example, there are occasions when I want
to see the struct stat for a directory entry, and want to be able to
access st_mtime values, without having to parse output from "ls -l".
A simple:

int main(int argc, char **argv)
{
	struct stat	st;
	if (stat(argv[1], &st) == 0) {
		printf("%lld\n", st.st_mtime);
	}
	exit(0);
}

will do the job.  If I was to try this by other means, I would either
have to install all of Perl, and then learn its idiosyncratic syntax,
or write a custom C program, which I would then have to compile on
each architecture I need.

This utility relies on there being a C compiler on the target machine,
and a working dlopen(3).

Build dependencies

pkgtools/cwrappers

Runtime dependencies

(none)

Available binary packages

aarch64:dync-1.1nb2.tgz(NetBSD 9.0)
aarch64:dync-1.1nb2.tgz(NetBSD 9.0)
aarch64:dync-1.1nb2.tgz(NetBSD 9.0)
alpha:dync-1.1nb2.tgz(NetBSD 9.0)
alpha:dync-1.1nb2.tgz(NetBSD 9.0)
earmv6hf:dync-1.1nb2.tgz(NetBSD 9.0)
earmv6hf:dync-1.1nb2.tgz(NetBSD 9.0)
earmv6hf:dync-1.1nb2.tgz(NetBSD 9.0)
earmv6hf:dync-1.1nb2.tgz(NetBSD 9.0)
earmv7hf:dync-1.1nb2.tgz(NetBSD 8.0)
earmv7hf:dync-1.1nb2.tgz(NetBSD 8.0)
earmv7hf:dync-1.1nb2.tgz(NetBSD 8.0)
earmv7hf:dync-1.1nb2.tgz(NetBSD 8.0)
earmv7hf:dync-1.1nb2.tgz(NetBSD 9.0)
earmv7hf:dync-1.1nb2.tgz(NetBSD 9.0)
earmv7hf:dync-1.1nb2.tgz(NetBSD 9.0)
earmv7hf:dync-1.1nb2.tgz(NetBSD 9.0)
earmv7hf:dync-1.1nb2.tgz(NetBSD 9.0)
i386:dync-1.1nb2.tgz(NetBSD 8.0)
i386:dync-1.1nb2.tgz(NetBSD 8.0)
i386:dync-1.1nb2.tgz(NetBSD 8.0)
i386:dync-1.1nb2.tgz(NetBSD 9.0)
i386:dync-1.1nb2.tgz(NetBSD 9.0)
i386:dync-1.1nb2.tgz(NetBSD 9.0)
mips64eb:dync-1.1nb2.tgz(NetBSD 9.0)
powerpc:dync-1.1nb2.tgz(NetBSD 8.0)
powerpc:dync-1.1nb2.tgz(NetBSD 8.0)
powerpc:dync-1.1nb2.tgz(NetBSD 8.0)
powerpc:dync-1.1nb2.tgz(NetBSD 9.0)
powerpc:dync-1.1nb2.tgz(NetBSD 9.0)
sparc64:dync-1.1nb2.tgz(NetBSD 9.0)
sparc64:dync-1.1nb2.tgz(NetBSD 9.0)
sparc64:dync-1.1nb2.tgz(NetBSD 9.0)
sparc:dync-1.1nb2.tgz(NetBSD 9.0)
x86_64:dync-1.1nb2.tgz(NetBSD 9.0)
x86_64:dync-1.1nb2.tgz(NetBSD 9.0)
x86_64:dync-1.1nb2.tgz(NetBSD 9.0)
x86_64:dync-1.1nb2.tgz(NetBSD 9.0)
x86_64:dync-1.1nb2.tgz(NetBSD 8.0)
x86_64:dync-1.1nb2.tgz(NetBSD 8.0)
x86_64:dync-1.1nb2.tgz(NetBSD 8.0)
x86_64:dync-1.1nb2.tgz(NetBSD 9.0)
x86_64:dync-1.1nb2.tgz(NetBSD 9.0)
x86_64:dync-1.1nb2.tgz(NetBSD 9.0)
x86_64:dync-1.1nb2.tgz(NetBSD 9.0)

Binary packages can be installed with pkgin or pkg_add(1). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.


[ Go up one level | Go to top of packages tree | List all packages ]