Sponsored Content
Homework and Emergencies Homework & Coursework Questions Minix 3 Source Code Organisation Explanation Post 302720199 by Menace12 on Tuesday 23rd of October 2012 02:53:25 PM
Old 10-23-2012
Minix 3 Source Code Organisation Explanation

1. I've been asked to provide a detailed description on how Minix's source code is organised. This may sound slightly simple, but what exactly am I to refer to when explaining? Any documents that would provide assistance to understand whats being asked? Thanks



2. Not applicable:



3. Not applicable:



4. govt college(BU),bangalore(karnataka),India,naganna,bsc:
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need explanation for the syntax(code)

Hi I am new to shell script programming... want to know the process of the following: if then echo "$0: missing argument for option(s) :$MISSINGOPTARG" echo "usage" $USAGE" exit 1 fi (1 Reply)
Discussion started by: chandhar
1 Replies

2. Shell Programming and Scripting

nawk code explanation

Hi I have a line/command which greps certain pattern () from the file and 22 lines AFTER that: nawk '/\/{c=22}c&&c--' input_file Can somebody explain the coding in this command (what " c&&c-- " does)? and how to modify this command to output 22 lines BEFORE this pattern () Thanks a lot ... (3 Replies)
Discussion started by: aoussenko
3 Replies

3. Homework & Coursework Questions

Please help with the following fork code..with complete explanation

I have the following piece of codes. Please explain it to me in great detail how are these codes working. 1. #include <stdio.h> int main(){ int x; x=0; while (x<2 && fork()){ if (!fork()) execlp("echo","x++","x",0); x++; system("echo x+x"); } } 2. #include <stdio.h> int i;... (1 Reply)
Discussion started by: prakashabii
1 Replies

4. Shell Programming and Scripting

code explanation

Can you please explain the following code plz? my_cd=' ' while getopts :e: OPTION; do case "$OPTION" in e) my_cd ="$OPTARG";; esac done if ; then echo " >>> ERROR - I am wrong" echo " >>> ERROR - Hello" exit 99 fi What I don't understand is what is OPTION or... (3 Replies)
Discussion started by: RubinPat
3 Replies

5. UNIX for Dummies Questions & Answers

Explanation of NAWK Code

Hi all, I need your help in understanding the meaning and syntax of the below nawk line. Here is an extract of a script which I use daily and works well. The script extracts the hostnames and messages within a syslog file. I would also like to extract the message time in the 3rd column by... (2 Replies)
Discussion started by: wthomas
2 Replies

6. UNIX for Dummies Questions & Answers

Code explanation?

I need someone to tell me how exactly works the following code αfter /etc/passwd :eek:: cat /etc/passwd|grep "^:"|sed '1,$s/^\(*\):*:\(*\):.*$/ \1 \2 /'|sort -nrk3 -t:I want a good explanation to understand the code please (4 Replies)
Discussion started by: kotsos13
4 Replies

7. Shell Programming and Scripting

ksh code explanation

Hi. Can somebody please explain the following lines of KSH code for me? The code checks all sub directories in a specific location which are numbered (E.g. test_01, test_02 ... etc.), then finds the one with highest number and extracts that number from the dir name into the variable num. I'd just... (9 Replies)
Discussion started by: user052009
9 Replies
DBIx::Class::Manual::Reading(3) 			User Contributed Perl Documentation			   DBIx::Class::Manual::Reading(3)

NAME
DBIx::Class::Manual::Reading - How to read and write DBIx::Class POD. DESCRIPTION
This doc should help users to understand how the examples and documentation found in the DBIx::Class distribution can be interpreted. Writers of DBIx::Class POD should also check here to make sure their additions are consistent with the rest of the documentation. METHODS
Methods should be documented in the files which also contain the code for the method, or that file should be hidden from PAUSE completely, in which case the methods are documented in the file which loads it. Methods may also be documented and referred to in files representing the major objects or components on which they can be called. For example, DBIx::Class::Relationship documents the methods actually coded in the helper relationship classes like DBIx::Class::Relationship::BelongsTo. The BelongsTo file itself is hidden from PAUSE as it has no documentation. The accessors created by relationships should be mentioned in DBIx::Class::Row, the major object that they will be called on. Method documentation o Each method starts with a "head2" statement of its name. Just the plain method name, not an example of how to call it, or a link. This is to ensure easy linking to method documentation from other POD. o The header is followed by a two-item list. This contains a description of the arguments the method is expected to take, and an indication of what the method returns. The first item provides a list of all possible values for the arguments of the method in order, separated by ", ", preceded by the text "Arguments: " Example (for the belongs_to relationship): =item Arguments: $accessor_name, $related_class, $fk_column|\%cond|@cond?, \%attr? The following possible argument sigils can be shown: o $var - A scalar (string or numeric) variable. o \%var - A variable containing reference to a hash. o @var - A variable containing a reference to an array. o $var - A variable containing a reference to a scalar variable. o %var - A hashref variable (list of key/value pairs) - rarely used in DBIx::Class. Reading an argument as a hash variable will consume all subsequent method arguments, use with caution. o @var - An array variable (list of values). Reading an argument as a array variable will consume all subsequent method arguments, use with caution. o $obj - Reference to the source class or object definition All arguments and return values should provide a link to the object's class documentation or definition, even if it's the same class as the current documentation. For example: ## Correct, if stated within DBIx::Class::ResultSet L<$resultset|/new> ## Correct, if stated outside DBIx::Class::ResultSet L<$resultset|DBIx::Class::ResultSet> o ? - Optional, should be placed after the argument type and name. ## Correct \%myhashref|@myarrayref? ## Wrong \%myhashref?|@myarrayref Applies to the entire argument. Optional arguments can be left out of method calls, unless the caller needs to pass in any of the following arguments. In which case the caller should pass "undef" in place of the missing argument. o | - Alternate argument content types. At least one of these must be supplied unless the argument is also marked optional. The second item starts with the text "Return Value:". The remainder of the line is either the text "not defined" or a variable with a descriptive name. ## Good examples =item Return Value: not defined =item Return Value: L<$schema|DBIx::Class::Schema> =item Return Value: $classname ## Bad examples =item Return Value: The names "not defined" means the method does not deliberately return a value, and the caller should not use or rely on anything it does return. (Perl functions always return something, usually the result of the last code statement, if there is no explicit return statement.) This is different than specifying "undef", which means that it explicitly returns undef, though usually this is used an alternate return (like "$obj | undef"). o The argument/return list is followed by a single paragraph describing what the method does. o The description paragraph is followed by another list. Each item in the list explains one of the possible argument/type combinations. This list may be omitted if the author feels that the variable names are self-explanatory enough to not require it. Use best judgement. o The argument/return list is followed by some examples of how to use the method, using its various types of arguments. The examples can also include ways to use the results if applicable. For instance, if the documentation is for a relationship type, the examples can include how to call the resulting relation accessor, how to use the relation name in a search and so on. If some of the examples assume default values, these should be shown with and without the actual arguments, with hints about the equivalent calls. The example should be followed by one or more paragraphs explaining what it does. Examples and explaining paragraphs can be repeated as necessary. AUTHOR AND CONTRIBUTORS
See AUTHOR and CONTRIBUTORS in DBIx::Class LICENSE
You may distribute this code under the same terms as Perl itself. perl v5.18.2 2013-12-16 DBIx::Class::Manual::Reading(3)
All times are GMT -4. The time now is 07:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy