On 07/04/12 04:55, Jan Lana wrote:
Hi pkg team,

we need to query ips and/or (un)install packages in C library.  Plan is
to use something like pipe()+fork()+exec("pkg", ...), I am just
wondering if there is any C API for ips?

No C API is currently available.

The best option is to invoke the pkg command directly.

However, to provide the best solution, some more details about the precise usage involved is needed.

-Shawn

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to