Sponsored Content
Operating Systems Linux Ubuntu Kernel panics : trying to write / read on tiny tty driver Post 302807421 by DGPickett on Tuesday 14th of May 2013 04:16:19 PM
Old 05-14-2013
What'd you trim out?
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Kernel and Device Driver Programming

I am looking for a guide on how to program for either the Linux or FreeBSD (includes 4.4BSD, NetBSD or OpenBSD) kernel. I would prefer to learn how to write device drivers, but anything would help. If you know, please email me at *removed* or leave a post here Regards, Farhan (0 Replies)
Discussion started by: Farhan
0 Replies

2. UNIX for Dummies Questions & Answers

Understanding read/write and kernel interaction

Ok, so I'm trying to finalize my understanding of read/write and kernel interaction. read(): You have a library function that has as it's first parameter (what the open file to read from is), second parameter( a pointer to a buffer (is this the location of a buffer in the user area or the... (1 Reply)
Discussion started by: Krothos
1 Replies

3. Programming

Understanding read/write and kernel interaction

Ok, so I'm trying to finalize my understanding of read/write and kernel interaction. read(): You have a library function that has as it's first parameter (what the open file to read from is), second parameter( a pointer to a buffer (is this the location of a buffer in the user area or the... (7 Replies)
Discussion started by: Krothos
7 Replies

4. IP Networking

read/write,write/write lock with smbclient fails

Hi, We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies

5. Solaris

Which file is read by kernel to set its default system kernel parameters values?

Hi gurus Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies

6. Fedora

Is Kernel module is the same as a device driver?

I have been reading prep questions for my second unix academy exam, and there's a nuance, I'm not sure I understand it correctly. I've been under impression from my readings of book by Evi Nemeth and from unix academy DVDs I've been watching, that kernel's modules are drivers. I think of it, as... (25 Replies)
Discussion started by: newlinuxuser1
25 Replies

7. Shell Programming and Scripting

Read input from another tty

Hello, I am trying to find out how I can find the tty number of a terminal a bash script has just created. Ultimately what I am trying to achieve is a script that starts a new terminal where stderr can be directed to. ls -l missing_file 2> /dev/pts/X To find the tty number of the... (3 Replies)
Discussion started by: colinireland
3 Replies

8. BSD

A question about BSD kernel and driver

I have an old hppa workstation install Openbsd on it,suppose i want to use bktr driver on it,i see bktr is configured on some archs(amd64,i386,ppc) but not on hppa,can i use the bktr driver line from amd64 or i386 in Generic kernel or custom kernel config? (3 Replies)
Discussion started by: Linusolaradm1
3 Replies

9. UNIX for Beginners Questions & Answers

Old SGI Irix UNIX box kernel panics

I am relatively new to 'older unix' systems but I am hoping someone can help me with the error I am seeing on my box. We have an Irix 6.5 running. Our computer keeps restarting (crashed once) itself, by itself, at random points in the last 5 out of 8 sessions. This is the sys log, that i took a... (0 Replies)
Discussion started by: pmccpete
0 Replies
struct::stack(n)						Tcl Data Structures						  struct::stack(n)

__________________________________________________________________________________________________________________________________________________

NAME
struct::stack - Create and manipulate stack objects SYNOPSIS
package require Tcl 8.4 package require struct::stack ?1.5.1? stackName option ?arg arg ...? stackName clear stackName destroy stackName get stackName getr stackName peek ?count? stackName peekr ?count? stackName trim ?newsize? stackName trim* ?newsize? stackName pop ?count? stackName push item ?item...? stackName size _________________________________________________________________ DESCRIPTION
The ::struct namespace contains a commands for processing finite stacks. It exports a single command, ::struct::stack. All functionality provided here can be reached through a subcommand of this command. Note: As of version 1.3.3 of this package a critcl based C implementation is available. This implementation however requires Tcl 8.4 to run. The ::struct::stack command creates a new stack object with an associated global Tcl command whose name is stackName. This command may be used to invoke various operations on the stack. It has the following general form: stackName option ?arg arg ...? Option and the args determine the exact behavior of the command. The following commands are possible for stack objects: stackName clear Remove all items from the stack. stackName destroy Destroy the stack, including its storage space and associated command. stackName get Returns the whole contents of the stack as a list, without removing them from the stack. stackName getr A variant of get, which returns the contents in reversed order. stackName peek ?count? Return the top count items of the stack, without removing them from the stack. If count is not specified, it defaults to 1. If count is 1, the result is a simple string; otherwise, it is a list. If specified, count must be greater than or equal to 1. If there are not enoughs items on the stack to fulfull the request, this command will throw an error. stackName peekr ?count? A variant of peek, which returns the items in reversed order. stackName trim ?newsize? Shrinks the stack to contain at most newsize elements and returns a list containing the elements which were removed. Nothing is done if the stack is already at the specified size, or smaller. In that case the result is the empty list. stackName trim* ?newsize? A variant of trim which performs the shrinking, but does not return the removed elements. stackName pop ?count? Return the top count items of the stack, and remove them from the stack. If count is not specified, it defaults to 1. If count is 1, the result is a simple string; otherwise, it is a list. If specified, count must be greater than or equal to 1. If there are not enoughs items on the stack to fulfull the request, this command will throw an error. stackName push item ?item...? Push the item or items specified onto the stack. If more than one item is given, they will be pushed in the order they are listed. stackName size Return the number of items on the stack. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category struct :: stack of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. KEYWORDS
graph, matrix, queue, tree CATEGORY
Data structures struct 1.5.1 struct::stack(n)
All times are GMT -4. The time now is 12:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy