Sponsored Content
Full Discussion: Noob minix problem
Homework and Emergencies Homework & Coursework Questions Noob minix problem Post 302540916 by pludi on Friday 22nd of July 2011 03:04:30 AM
Old 07-22-2011
Please fill out the complete template, and give as much information as possible.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Minix Installation

hi, I'm trying to install Minix 2.0.3 on an old gateway2000 4dz2-66 manufactured back in 1995. After I ran 'part' in setup, It make the root/swap/usr subpartitions and then I get this message: installboot: No such File or Directory This was when i had my /usr disk in,here is teh output i... (2 Replies)
Discussion started by: deadrobot
2 Replies

2. Shell Programming and Scripting

A small minix question

First af all hi. i want to create a batch script which inform when users log in last time on system or if they are online when they logged in. I want ot use a file .users which has the usernames of users. i want to print for example peter is ONLINE: Logged in on Wed Feb 11 07:47 alex... (2 Replies)
Discussion started by: sasa
2 Replies

3. UNIX for Advanced & Expert Users

sys_datacopy in Minix

I'm writing a program that must log all the kernel calls existing in Minix. I recall that Minix is a microkernel OS. I've a user process that pass a char* that points to a buffer memory to the kernel level. In the kernel level I get all the information, and now, I would like to copy the info to... (1 Reply)
Discussion started by: pedrosacosta
1 Replies

4. Solaris

Help with minix

hey guys i hope there is someone familiar with minix that can help me. Well, the problem i am sitting with is that a ran a program with an infinite loop in it, now i think i ran out of memory in the root because a keep on getting the message " no space on the root device 3/128 ", whenever i try... (3 Replies)
Discussion started by: surubi_abada
3 Replies

5. Shell Programming and Scripting

Api Posix in Minix

Hi, I'm using minix and I don't know how to use API POSIX (I've read ipc.h :confused:), someone could help me? Thank you :) (3 Replies)
Discussion started by: Guccio
3 Replies

6. Shell Programming and Scripting

File system in MINIX

Hi I am new in MINIX I want to add data into inode and retrive. where I add these information and how I can retrive? Thanx Rose (2 Replies)
Discussion started by: rosecomp
2 Replies

7. Programming

Noob makefile problem

Im trying to build a makefile for the first time in many years and Im coming to a screaching halt on something that should be child's play; just compiling two files. Here is an excerpt of the make file. (using GMAKE on a TI compiler) CCHP = <<compiler>> PROJ_DIR = . APP_DIR ... (2 Replies)
Discussion started by: DrNismo
2 Replies

8. Programming

Minix help wanted

Hi to all, i am trying to make a kernel call that will display the number of times each kernel call was called. Any idea where to look? I can't find the right files and also how to get all those values. Already made a kernel call that displays how many kernel calls are in the system. I am using... (6 Replies)
Discussion started by: hariscy
6 Replies
scf_tmpl_prop_create(3SCF)			 Service Configuration Facility Library Functions			scf_tmpl_prop_create(3SCF)

NAME
scf_tmpl_prop_create, scf_tmpl_prop_reset, scf_tmpl_prop_destroy, scf_tmpl_get_by_prop, scf_tmpl_iter_props - template property functions SYNOPSIS
cc [ flag... ] file... -lscf [ library... ] #include <libscf.h> scf_prop_tmpl_t *scf_tmpl_prop_create(scf_handle_t *handle); void scf_tmpl_prop_reset(scf_prop_tmpl_t *prop_tmpl); void scf_tmpl_prop_destroy(scf_prop_tmpl_t *prop_tmpl); int scf_tmpl_get_by_prop(scf_pg_tmpl_t *pg_tmpl, const char *prop, scf_prop_tmpl_t *prop_tmpl, int flags) int scf_tmpl_iter_props(scf_pg_tmpl_t *pg_tmpl, const char *fmri, scf_prop_tmpl_t *prop_tmpl, int flags); DESCRIPTION
The template property functions locate and give access to metadata about properties. They require that the template for the property group containing the property has already been located by one of the scf_tmpl_pg_create(3SCF) suite of functions. Once retrieved, the scf_prop_tmpl_t can be explored using the scf_tmpl_prop_name(3SCF) suite of functions. Before calling scf_tmpl_get_by_prop() or scf_tmpl_iter_props(), the scf_prop_tmpl_t must be allocated by scf_tmpl_prop_create. The scf_prop_tmpl_t can be reset to contain no template information with scf_tmpl_prop_reset(), so that it can be used to start an iteration from scratch. All associated memory can be freed with scf_tmpl_prop_destroy(). The scf_tmpl_get_by_prop() function locates template data about the property name specified. The scf_tmpl_iter_props() function iterates across all property templates defined in the specified property group template. The iterator state for scf_tmpl_iter_props() is stored on the property template data structure. The data structure should be allocated with scf_tmpl_prop_create(), and to continue the iteration the previously returned structure should be passed in as an argument. RETURN VALUES
The scf_tmpl_get_by_prop() function returns -1 on failure and 0 on success. The scf_tmpl_iter_props() function returns 1 on successful completion. If the iteration is complete, it returns 0. It returns -1 on error. ERRORS
The scf_tmpl_get_by_prop() and scf_tmpl_iter_props() functions will fail if: SCF_ERROR_BACKEND_ACCESS The storage mechanism that the repository server (svc.configd(1M)) chose for the operation denied access. SCF_ERROR_CONNECTION_BROKEN The connection to the repository was lost. SCF_ERROR_DELETED The instance or its template property group has been deleted. SCF_ERROR_HANDLE_DESTROYED The handle passed in has been destroyed. SCF_ERROR_INTERNAL An internal error occurred. SCF_ERROR_INVALID_ARGUMENT One of the arguments is invalid. SCF_ERROR_NO_MEMORY There is not enough memory to populate the scf_prop_tmpl_t. SCF_ERROR_NO_RESOURCES The server does not have adequate resources to complete the request. SCF_ERROR_NOT_BOUND The handle is not currently bound. The scf_tmpl_get_by_prop() function will fail if: SCF_ERROR_NOT_FOUND Template object matching property doesn't exist in the repository. SCF_ERROR_TYPE_MISMATCH Matching template object is the wrong type in the repository. SCF_ERROR_PERMISSION_DENIED The template could not be read due to access restrictions. SCF_ERROR_TEMPLATE_INVALID The template data is invalid. The scf_tmpl_prop_create() function will fail if: SCF_ERROR_INVALID_ARGUMENT The handle argument is NULL. SCF_ERROR_NO_MEMORY There is no memory available. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
svc.configd(1M), scf_tmpl_pg_create(3SCF), scf_tmpl_prop_name(3SCF), attributes(5), smf_template(5) SunOS 5.11 28 Oct 2008 scf_tmpl_prop_create(3SCF)
All times are GMT -4. The time now is 07:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy