9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] Calling vac from C
Date: Thu, 19 Feb 2009 07:55:18 -0500	[thread overview]
Message-ID: <535287ca78079c311d7606dbe4a7ecf9@quanstro.net> (raw)
In-Reply-To: <906615a1-037e-4e6e-9742-5cba13e27804@w35g2000yqm.googlegroups.com>

On Thu Feb 19 05:04:15 EST 2009, anooop.anooop@gmail.com wrote:
> Hello once again,
>
> I was wondering whether if there are any libraries that I can include
> to call vac and unvac directly from my C code. Currently I am
> executing them in the shell using popen and capturing the output. I am
> looking for better ways.

what's wrong with the tools-based approach
you're currently using?

this may be hard to believe coming from unix,
but your approach is what many tools do.  nobody
links to a tcs library.  one uses the tcs(1)
executable.

executables.  god's answer to dynamic linking.

- erik



  reply	other threads:[~2009-02-19 12:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-19  9:53 anooop.anooop
2009-02-19 12:55 ` erik quanstrom [this message]
2009-02-20  9:53 ` anooop.anooop
2009-02-20 15:41   ` erik quanstrom
2009-02-20 16:17     ` Uriel
2009-02-20 16:47       ` erik quanstrom
2009-02-24  6:10         ` Ben Calvert
2009-02-24 15:54 erik quanstrom
2009-02-24 16:15 ` Roman V. Shaposhnik
2009-02-24 16:22 erik quanstrom
     [not found] <ac072e66c823fd6d649593efec9e221b@quanstro.net>
2009-02-24 16:32 ` Roman V. Shaposhnik
2009-02-24 17:01 erik quanstrom
     [not found] <c9aea65e7f058933edc0a22e931ea675@quanstro.net>
2009-02-24 17:17 ` Roman V. Shaposhnik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=535287ca78079c311d7606dbe4a7ecf9@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).