| CARVIEW |
Select Language
HTTP/2 200
expires: Thu, 19 Nov 1981 08:52:00 GMT
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
set-cookie: PHPSESSID=8e1j0knhjlb354eilp1da5mog6; path=/
content-type: text/html; charset=UTF-8
date: Sat, 27 Dec 2025 04:00:04 GMT
server: Apache
pkgsrc.se | The NetBSD package collection
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
mail
math
mbone
meta-pkgs
misc
dync
multimedia
net
news
parallel
pkgtools
print
regress
security
shells
sysutils
textproc
time
wip
wm
www
x11
* = Virtual Category
Path to this page:
./misc/dync, C language awk-like utility
[
Branch: CURRENT, Version: 1.1nb2, Package name: dync-1.1nb2, Maintainer: agc
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).
Required to build:
[pkgtools/cwrappers]
Navigation:
-
Browse pkgsrc
(this page)
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
math
mbone
meta-pkgs
misc
dyncmultimedia
net
news
parallel
pkgtools
regress
security
shells
sysutils
textproc
time
wip
wm
www
x11
* = Virtual Category
Path to this page:
./misc/dync, C language awk-like utility
[
CVSweb ] [
Homepage ] [
RSS ] [
Required by ] [
Add to tracker ]
Branch: CURRENT, Version: 1.1nb2, Package name: dync-1.1nb2, Maintainer: agc
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).
Required to build:
[pkgtools/cwrappers]
Master sites:
Filesize: 23.654 KBVersion history: (Expand)
- (2025-07-15) Package has been reborn
- (2025-07-15) Package deleted from pkgsrc
- (2017-11-23) Package has been reborn
- (2012-06-11) Package has been reborn
- (2012-06-11) Package deleted from pkgsrc
- (2005-10-05) Package added to pkgsrc.se, version dync-1.1nb2 (created)
CVS history: (Expand)
| 2021-10-26 12:59:39 by Nia Alarie | Files touched by this commit (378) |
Log message: misc: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes The following distfiles could not be fetched (possibly fetched conditionally?): ./misc/libreoffice/distinfo libreoffice/harfbuzz-2.6.4.tar.xz |
| 2021-10-07 16:35:55 by Nia Alarie | Files touched by this commit (378) |
Log message: misc: Remove SHA1 hashes for distfiles |
| 2017-08-01 18:47:46 by Thomas Klausner | Files touched by this commit (88) |
Log message: Comment out dead sites (DNS problems). |
| 2015-11-04 00:49:56 by Alistair G. Crooks | Files touched by this commit (330) |
Log message: Add SHA512 digests for distfiles for misc category Problems found locating distfiles: Package colorls: missing distfile ls.tar.gz Package molden: missing distfile molden-4.6/molden4.6.tar.gz Package softmaker-office-demo: missing distfile ofl06trial.tgz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail. |
| 2013-04-06 05:45:29 by Blue Rats | Files touched by this commit (152) |
Log message: Fixes: COMMENT should not be longer than 70 characters. COMMENT should not begin with 'A'. COMMENT should not begin with 'An'. COMMENT should not begin with 'a'. COMMENT should not end with a period. COMMENT should start with a capital letter. pkglint warnings. Some files also got minor formatting, spelling, and style corrections. |
| 2012-10-08 11:57:42 by Aleksej Saushev | Files touched by this commit (239) |
Log message: Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. |
| 2010-02-11 20:17:06 by Joerg Sonnenberger | Files touched by this commit (1) |
Log message: DESTDIR support |
| 2009-05-22 20:16:19 by Zafer Aydogan | Files touched by this commit (1) | |
Log message: update master site. |
