Sponsored Content
The Lounge What is on Your Mind? Proposal to Eliminate Thread Icons Column Post 303021045 by hicksd8 on Friday 3rd of August 2018 06:23:27 AM
Old 08-03-2018
FWIW, I'm up for eliminating that column. Seems like a waste of space.
This User Gave Thanks to hicksd8 For This Post:
 

6 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Dotted thread icons

Can you guys please enable the "dotted" icon option, so that the thread icon for a thread in which a user has posted in will appear with a dot in it? Thanks, Aaron (2 Replies)
Discussion started by: Spetnik
2 Replies

2. Programming

Master's degree proposal, Router software

Hello everyone, After 8 years of being out of school I am trying to start my Masters degree. This specific type of degree is being done only by research (research mode vs. coursework mode). I need to prepare a research proposal and send it to the school. I will need a professor to accept me as a... (2 Replies)
Discussion started by: wmac
2 Replies

3. UNIX for Dummies Questions & Answers

research proposal for PG

hi friends i have just completed my graduation and applied for Post graduation i have to submit a research proposal of OS in the interview i m a beginner & only read galvin & silbershcatz book on operating systems can anyone help me in that ... thanks in advance (3 Replies)
Discussion started by: iet.manish
3 Replies

4. Forum Support Area for Unregistered Users & Account Problems

Registration proposal

Hello. I've been reading the feed via twitter for a long time, but though i'm willing to help, i can't post and register (russia's banned). IP is dynamic, it's (<ip address>) for now. DevOps, RH, python and unix shell scripting. (5 Replies)
Discussion started by: spider_fingers
5 Replies

5. Shell Programming and Scripting

Get the average from column, and eliminate the duplicate values.

Dear Experts, Kindly help me please, I have a big file where there is duplicate values in col 11 till col 23, every 2 rows appers a new numbers, but in each row there is different coordinates x and y in col 57 till col 74. Please i will like to get a single value and average of the x and y... (8 Replies)
Discussion started by: jiam912
8 Replies

6. What is on Your Mind?

New Member Profile Pages (Proposal)

Hey, I am thinking to get rid of the old and clunky member profile pages and replace with a prototype from Brad at Traversy Media. Here is the prototype: Welcome To My Portfolio Basically, I will take the links in the user profile page and put them into the new format when I have time.... (3 Replies)
Discussion started by: Neo
3 Replies
SOCKATMARK(3)						   BSD Library Functions Manual 					     SOCKATMARK(3)

NAME
sockatmark -- determine whether the read pointer is at the OOB mark LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/socket.h> int sockatmark(int s); DESCRIPTION
To find out if the read pointer is currently pointing at the mark in the data stream, the sockatmark() function is provided. If sockatmark() returns 1, the next read will return data after the mark. Otherwise (assuming out of band data has arrived), the next read will provide data sent by the client prior to transmission of the out of band signal. The routine used in the remote login process to flush output on receipt of an interrupt or quit signal is shown below. It reads the normal data up to the mark (to discard it), then reads the out-of-band byte. #include <sys/socket.h> ... oob() { int out = FWRITE, mark; char waste[BUFSIZ]; /* flush local terminal output */ ioctl(1, TIOCFLUSH, (char *)&out); for (;;) { if ((mark = sockatmark(rem)) < 0) { perror("sockatmark"); break; } if (mark) break; (void) read(rem, waste, sizeof (waste)); } if (recv(rem, &mark, 1, MSG_OOB) < 0) { perror("recv"); ... } ... } RETURN VALUES
Upon successful completion, the sockatmark() function returns the value 1 if the read pointer is pointing at the OOB mark, 0 if it is not. Otherwise, the value -1 is returned and the global variable errno is set to indicate the error. ERRORS
The sockatmark() call fails if: [EBADF] The s argument is not a valid descriptor. [ENOTTY] The s argument is a descriptor for a file, not a socket. SEE ALSO
recv(2), send(2) HISTORY
The sockatmark() function was introduced by IEEE Std 1003.1-2001 (``POSIX.1''), to standardize the historical SIOCATMARK ioctl(2). The ENOTTY error instead of the usual ENOTSOCK is to match the historical behavior of SIOCATMARK. BSD
October 13, 2002 BSD
All times are GMT -4. The time now is 08:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy