Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

toascii(3p) [suse man page]

TOASCII(3P)						     POSIX Programmer's Manual						       TOASCII(3P)

PROLOG
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the correspond- ing Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME
toascii - translate an integer to a 7-bit ASCII character SYNOPSIS
#include <ctype.h> int toascii(int c); DESCRIPTION
The toascii() function shall convert its argument into a 7-bit ASCII character. RETURN VALUE
The toascii() function shall return the value (c &0x7f). ERRORS
No errors are returned. The following sections are informative. EXAMPLES
None. APPLICATION USAGE
None. RATIONALE
None. FUTURE DIRECTIONS
None. SEE ALSO
isascii(), the Base Definitions volume of IEEE Std 1003.1-2001, <ctype.h> COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol- ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html . IEEE
/The Open Group 2003 TOASCII(3P)

Check Out this Related Man Page

_TOLOWER(3P)						     POSIX Programmer's Manual						      _TOLOWER(3P)

PROLOG
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the correspond- ing Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME
_tolower - transliterate uppercase characters to lowercase SYNOPSIS
#include <ctype.h> int _tolower(int c); DESCRIPTION
The _tolower() macro shall be equivalent to tolower(c) except that the application shall ensure that the argument c is an uppercase letter. RETURN VALUE
Upon successful completion, _tolower() shall return the lowercase letter corresponding to the argument passed. ERRORS
No errors are defined. The following sections are informative. EXAMPLES
None. APPLICATION USAGE
None. RATIONALE
None. FUTURE DIRECTIONS
None. SEE ALSO
tolower(), isupper(), the Base Definitions volume of IEEE Std 1003.1-2001, Chapter 7, Locale, <ctype.h> COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol- ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html . IEEE
/The Open Group 2003 _TOLOWER(3P)
Man Page

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Help!

Hi friend: There are some questions I wish you could help me. How do I transfer Postscript version file to Flat ASCII text file? I want to use C to do this work. Are there any source code to do this work? Are there any tools used in windows enviroment to see Postscript version file? thank... (1 Reply)
Discussion started by: wwz
1 Replies

2. UNIX for Advanced & Expert Users

Unicode Support in BIND?

Here at the agency I work for, a need has arisen for a subdomain that utilizes some unicode characters. It has something to do with our foreign clients getting "page could not be displayed" errors in their internationalized browsers. I am still investigating the issue, but I've been asked to find... (2 Replies)
Discussion started by: deckard
2 Replies

3. Programming

function debugging. help

Hi, I tried creating my version of the cat function in bash but left it and now I'm trying to make this function work, but it wouldn't. #include <sys/param.h> #include <sys/stat.h> #include <locale.h> #include <ctype.h> #include <err.h> #include <errno.h> #include <fcntl.h>... (2 Replies)
Discussion started by: sanchopansa
2 Replies

4. Programming

fork/exec clobbers write. I need ideas why...

On my *nix box, I have a telegram program. When I go like tel person "la\nla\nla\n" the person sees "la\nla\nla\n" However, when I have a program that forks and execs tel like: pid = fork(); if (pid < 0) { perror("fork failed"); exit(EXIT_FAILURE); } if (pid == 0) {... (7 Replies)
Discussion started by: frequency8
7 Replies

5. Programming

Convert HEX to EBCDIC IN C

i want to convert Hex value To EBCDIC value. i tried to convert hex to ascii and then to ebcdic but it doesn't give desired results . it doesn't give corresponding ebcdic value instead it gives some junk values. e.g; Hex EBCDIC ----------------- 81 a 82 b 83 c 84 d 85 e 86 f 87... (6 Replies)
Discussion started by: junaid.nehvi
6 Replies

6. Programming

extracting text files

i m unable to extract data from one text files to different text files..i am able to concat two text files in d same file ---------- Post updated at 03:21 PM ---------- Previous update was at 03:16 PM ---------- i want a c program for it (2 Replies)
Discussion started by: asd123
2 Replies

7. UNIX for Dummies Questions & Answers

What is ASCII character?

Hi Guru, I have put one post yesterday and get answer. thanks for your help. my question today is: what is ascii character for following non printable characters: ( we need filter these characters out in another process) ^MM-^E^MM-^E. Old post link: ... (5 Replies)
Discussion started by: ken002
5 Replies

8. Shell Programming and Scripting

Using BASH on windows

So I'm looking into using BASH on this windows 7 machine. I've installed cygwin with a few optional bash installations but I don't know how to get bash to "work". I've opened the .exe and typed what few commands I understand from the tutorials I've found but some of the commands do not work. I... (10 Replies)
Discussion started by: Cambria
10 Replies

9. Shell Programming and Scripting

Split and add header and trailer from input file

I need to split the file based on pattern from position 34-37 while retaining the header and trailer records in each individual split file Also is it possible to output the TOM and PAT records in the same output file ? I need the output file names same as xyz_pattern_Datetimestamp.txt ... (23 Replies)
Discussion started by: techedipro
23 Replies