Bug with Solaris man page on dlsym

I hope someone at Sun working on Solaris is reading this. There are bugs in the Solaris 10 man page on dlsym - there are a couple of places that says "see the .". Apparently soemthing is missing. My version of man pages is "Last change: 26 Sep 2005".

The prototype of pthread_create() is correct on Solaris 10 man page (SunOS 5.10 Last change: 23 Mar 2005):
int pthread_create(pthread_t *restrict   thread,   const
pthread_attr_t *restrict         attr,         void
*(*start_routine)(void*), void *restrict arg);
But the prototype of pthread_cleanup_push() is correct on Solaris 10 man page (SunOS 5.10 Last change: 4 Oct 2005) is incorrect:
void pthread_cleanup_push(void (*handler, void *),void *arg);
I guess Sun simply has to check all the man pages of the pthread functions carefully one by one to make sure this error is fixed.

Similar Messages

  • ARD and UNIX commands with outdated MAN pages. (e.g. networksetup)

    I may have read it wrongly or referred to the wrong MAN page for "networksetup", but while trying to set proxies, I realise that networkservice for the ethernet port was no longer "Built-in Ethernet" but just Ethernet (without the quotes). Took quite some time to figure that one out. Any ideas if it's just the "new" MacBooks or 10.6.4 listing differently these days? I got my multiple unix commands to work :
    networksetup -setwebproxy Ethernet proxy 3128;
    networksetup -setwebproxy AirPort proxy 3128;
    networksetup -setproxybypassdomains Ethernet 10.0.1.10 *.local 10.0.0.200 10.0.0.0/16;
    defaults write com.apple.SoftwareUpdate CatalogURL 'http://10.0.1.10:8088/index-leopard-snowleopard.merged-1.sucatalog';
    softwareupdate -i -a

    Hi
    I found this out a few weeks ago after trying for about 20-30 minutes or so. Won't be the first time manual pages were wrong or out-of-date, nor the last. Depending which OS you're running there are manual pages for utilities that don't exist any more. I remember ktrace disappearing in 10.5 yet the manual page was still available. Completely gone in 10.6.
    Tony

  • [Solved] Looking for arch's original man page color codes

    Hey everyone. I'm new to arch, and enjoying having everything begin to work out for me. One thing I was wondering though is what the color codes are that the man pages use before X is loaded or anything similar.
    Per the archwiki, I'm using the following to provide myself with colored man pages in urxvt:
    From .Xresources:
    ! colored man pages on rxvt-unicode-256color
    URxvt.colorIT: #87af5f
    URxvt.colorBD: #d7d7d7
    URxvt.colorUL: #87afd7
    This works, but it's not the same colorscheme as what arch starts out with initially. Anyone know what that colorscheme is? Or where I could look to find it?
    Last edited by zematis (2014-05-12 22:21:30)

    ayekat, thanks for the warm welcome!
    ayekat wrote:What article in the wiki?
    Here's the section in the Wiki I was referring to:
    https://wiki.archlinux.org/index.php/ma … vt-unicode
    karol wrote:Are you talking about using man pages before installing Arch or after installing but in the tty? Do you want to get the same colors in X?
    (I think) I was talking about the colors that the man pages are in the TTY. Specifically, my processes is:
    Boot up arch
    Login (X yet not started)
    Look at a man page - like the colors
    Startx - boot to window manager (i3)
    Look at a man page - want to change the colors
    That said, I liked the colors the man pages had before installing Arch quite a bit, and wouldn't object to learning what those are.
    ayekat wrote:Here you are changing how urxvt displays characters that are marked as underline, italic or bold; in particular you are changing their colours.
    The thing is, it won't only affect man pages viewed in urxvt, but everything.
    Makes sense
    ayekat wrote:As for changing the colour scheme of the manpage, you'll probably want to do it more properly, using the LESS_TERMCAP environment variables.
    I tried copying your format to my .bashrc and it worked great! So that's a win. Now I just need to figure out what the '\e[#;#;#m' numbers mean. I think I can probably handle that one on my own though. I found a resource here at:
    http://misc.flogisoft.com/bash/tip_colo … ng#colors2
    And it looks like it covers what I need to know.
    Thanks for your help!
    And honestly, at this point I think I can figure out what colorscheme I like given the info at hand. So I think we can call this one taken care of.
    If it interests anyone, I found a .sh script at the above link to display all 256 colors, then modified it to show the colors bolded, italicized etc. Here's the script:
    #!/bin/bash
    # This program is free software. It comes without any warranty, to
    # the extent permitted by applicable law. You can redistribute it
    # and/or modify it under the terms of the Do What The Fuck You Want
    # To Public License, Version 2, as published by Sam Hocevar. See
    # http://sam.zoy.org/wtfpl/COPYING for more details.
    for coltype in {0..8} ; do # Bold, Italic etc.
      for fgbg in 38 48 ; do #Foreground/Background
        for color in {0..256} ; do #Colors
          #Display the color
          echo -en "\e[(0${coltype});(${fgbg};5;${color}m ${color}\t\e[0m"
          #Display 10 colors per lines
          if [ $((($color + 1) % 10)) == 0 ] ; then
            echo #New line
          fi
        done
        echo #New line
        echo #New line
      done
      echo #New line
    done
    exit 0

  • [Solved] Cannot start firefox nor man pages without root acount.

    Hi all,
    when i try to start firefox with a normal user account, it doesn't start, but if i do sudo firefox
    it do starts.
    The same happens with the man pages, if i do man ls
    returns "no hay ninugna pagina sobre ls", but if i do sudo man ls
    the man page appears.
    Can anyone offer suggestions? Is there information you need? Thanks in advance.
    Last edited by SWcarlos (2008-05-25 21:18:23)

    My current values in /etc/profile.d/mozilla-commons.sh are:
    export PATH="${PATH}:/opt/mozilla/bin:/usr/bin"
    i added :/usr/bin but there is no change, even if i comment that line, nothing changes
    with MANPATH /usr/profile i have
    export MANPATH="/usr/man:/usr/X11R6/man"
    my manual pages are in /usr/man, but one more time even if i comment that line, nothing changes
    sudo man ls -> the man page appears
    man ls -> "no hay ninugna pagina sobre ls"
    one thing i realized, is that before i made any changes, i try to man as normal user anything on /usr/man subfolders, and that man pages do appear, both sudo and normal user.
    but ls vi sudo and other man pages only appear as root.
    Last edited by SWcarlos (2008-03-19 05:14:38)

  • No scrolling when viewing man pages with Gnome terminal?

    Hi all,
    I have just installed Oracle Solaris 11 on x86. For a long time I've used Solaris 9 on SPARC. I like the new OS, but I'm having a problem viewing man pages with Gnome terminal. When I view a long man page, e.g., "man newfs", I don't get a functional scroll bar on the right hand side of the window. And although the space bar works to advance the page, when I reach the end, it doesn't return to the command prompt. It just beeps, prints "END", and I can only exit by closing the window. Can anyone tell me how to fix this? Suggestions would be much appreciated.
    Many thanks,
    Chris Tidy

    It does sound like you're using "less" instead of more. When you see the "(END)" prompt you can simply type "q" and it will exit back to the command line prompt making it unnecessary to close the window. See the "less" manual page for more detail on the less command. Under Solaris 9 the paging was done with the "more" command. If you set the PAGER environment variiable to "more" the man page will use more and revert to the behavior you'd be used to with Solaris 9. Less erases the text you've already read when you type that final "q" which is a behavior I don't like. I didn't bother to determine if there is a way to fix that with less, I just went back to more. The choice between "more" and "less" is a personal preference.

  • Can't view man pages on solaris 8 x86

    Hi,
    I installed solaris 8 on a intel x86 machine not using the webwizard because I wanted a minimal installation.
    When I try to view man pages I get the following error:
    man manReformatting page. Please Wait...Invalid SGML. File cannot be formatted
    sys(cd /usr/share/man; /usr/lib/sgml/sgml2roff /usr/share/man/sman1/man.1 > /tmp/sman_3827) fail!
    aborted (sorry)
    when I list /usr/lib/sgml then I got the following files:
    ls -ltotal 2830
    -rwxr-xr-x 1 root bin 68016 Jan 9 2000 instant
    -rwxr-xr-x 1 root bin 1366552 Jan 9 2000 nsgmls
    -rwxr-xr-x 1 root bin 3183 Jan 6 2000 sgml2roff
    Don't know what is wrong but I think I'm missing a package, anybody clues...
    with regards,
    Martijn de Munnik
    [email protected]

    Depending on how minimal your install was, you may not have installed the man pages.
    Take a look in /usr/share/man and see if you have the man pages installed, and if not, install them.

  • Core install - no man pages & can not eject cdrom solaris 10

    I did a custom core install for solaris 10. I thought I installed all the packages needed, as well as all the dependacies.
    I have no man pages!
    I can not eject cdrom, I get an error:
    "No such file or directory"
    When I type vold I also get an error:
    "fatal: vol-init failed (cant communicate with kernel)
    I can not start in services by:
    svcadm enable vold
    How do I fix?

    I have fixed the vol_init error
    touch /reconfigure;init 6
    What cd is the man pages on for solaris 10
    would it just be pkgadd -d /yada/yada...

  • What does "restrict" mean in Solaris 10 man pages ?

    Hi everyone,
    On Solaris 10 programming man pages I see the
    "restrict" word used quite often. What is its meaning ?
    It wasn't there in previous releases. Is it documented anywhere ?
    Excerpt from select(3c) man page:
        int select(int nfds, fd_set *restrict readfds, fd_set  *res-
         trict  writefds,  fd_set  *restrict errorfds, struct timeval
         *restrict timeout);Thanks.,
    Vlad.

    It's for C99. It has to do with pointer aliasing. See section D.1.2.1 of
    http://docs.sun.com/source/817-6697/c99.app.html
    and section 3.8.2 of
    http://docs.sun.com/source/817-6697/parallel.html#70231
    - Stephen

  • Can only access certain man pages with sudo

    I can only access certain man pages with sudo. They aren't accessible as either root or normal user. I can't be a 100% sure but it would appear that the man pages I have problems with are those located in /usr/share/man. I can't see any differences in file or directory permissions with those located in /usr/man. Anyone else having this problem. Or have I commited another noobish mistake.
    man pacman is an example.
    Any pointers would be greatly appreciated.

    the filesystem and bash packages need to be updated after the pacman 3.1 release
    if you want immediate results add
    UNSET MANPATH to your .bashrc
    Last edited by dolby (2008-01-24 20:45:17)

  • KDE: Konqueror with man pages - also Firefox/Shiretoko styles

    Greetings!
    I've only recently started using Arch.  Two weeks ago I installed, and so far all is going well, and I have to say that I'm very impressed with both the quality of this distribution and the thoroughness of the Wiki.
    I've encountered two minor annoyances that I simply can't figure out, and can't find in the Wiki...
    1) I like using Konqueror for man pages when I have a GUI because they are somewhat easier to read.  Anyway, Konqueror displays them, but it's as if I haven't gotten the character set correct or something.  What happens is that some of the formatting code comes through as text.  For example, I'm looking at the smb.conf man page in another window right now, and the first several lines of text look like the following:
    SMB.CONF
    Section: File Formats and Conventions (5)
    ." make the size of the head bigger 
    \  ." make the size of the head bigger  \
    2) I'm using Firefox installed straight from the repository.  I next installed and used lxappearance appearance to change the style to the QTCurve style as suggested in the KDE Wiki page.  This works great, and Firefox looks more like a native KDE application right up until I log off.  When I log in, Firefox is back to looking like a foreign application again, and I have to run lxappearance again.  It only takes a few seconds, so it's an annoyance at worst, but it is somewhat annoying.  I have not tried switch2 or gtk-chtheme, perhaps I should?
    I can't believe I'm the first one to have these problems - but I've been searching and reading the Wiki as well as the general internet and haven't lucked onto anything for either problem.  I would really appreciate a link or hint pointing me in the proper direction for either or both of these problems.
    Thanks for any tips or links!
    Chris
    Last edited by chrsprkr3 (2009-12-12 19:26:45)

    Er... my 's's have magically returned? But I have no idea why. I didn't even restart Firefox. (I'd already tried that and it made no difference.)
    Would really like to know why...
    EDIT: I still don't have 'm's etc. in code listings, though.
    Last edited by cfr (2012-03-26 00:58:19)

  • No man pages in solaris 9

    have installed solaris 9 by live upgrade from solaris 8 to solaris 9 . After installation i cannot find man pages . i installed the package SUNWdoc but still its not working . Any suggestion is greatly appreciated
    And also smc not working , any ideas .

    Man pages are in SUNWman package. During Live Upgrade did you use Sol 9 CD 2 of 2 or did you quit after just using CD 1 of 2? Additionally, if your original Sol 8 install was "Core" or "End User" the man pages would not have been installed, by default, unless you added them later, so the LU may have seen that original was "Core" for example, and didn't load man pages.

  • Man pages in solaris 9

    I have installed solaris 9 by live upgrade from solaris 8 to solaris 9 . After installation i cannot find man pages . i installed the package SUNWdoc but still its not working . Any suggestion is greatly appreciated
    And also smc not working , any ideas .

    SUNWman seems to be the package containing the man pages:
    % pkgchk -l -p /usr/share/man/sman1/sh.1
    Pathname: /usr/share/man/sman1/sh.1
    Type: regular file
    Expected mode: 0444
    Expected owner: root
    Expected group: bin
    Expected file size (bytes): 86295
    Expected sum(1) of contents: 52036
    Expected last modification: Okt 19 00:48:12 2002
    Referenced by the following packages:
    SUNWman
    Current status: installed

  • Less than two week old iPad Air crashes with youtube/netflix and Safari when loading pages with video (i.e. Buzzfeed with links to youtube and vine). What's up with iPad Air's bugs with videos??

    Week and a half old iPad Air crashes with light usage of youtube, netflix and safari pages with video links to youtube and vine. The consistency of problems with videos has led me to determine that it must be bugs with iPad Air. Anyone else having this problem?
    Details: iPad Air 16gb wifi, have only used about 25% of space and always close all apps before opening another. I also have only had a max of two tabs open on safari of basic internet surfing (i.e. A google search page, or imdb for example). These crashes are annoying as sh......

    em74 wrote:
    These crashes are annoying as sh......
    I can well imagine that they are.
    I would backup, restore to factory settings, restore from the backup and then try again. If that fails, restore again but do not use the backup - restore as new. If the iPad functions OK as new, then slowly rebuild the iPad adding your apps, music etc, methodically to see if you can pin down what might be causing the problem.
    if all of that fails, it's time to schedule an appointment at an Apple a Store (must be done online) and have them take a look, or of it is lees than two weeks old, just return it for a refund and buy another one.

  • How do you change volume permissions with Solaris Volume Manager?

    (Previously posted in "Talk to the Sysop" - no replies)
    I'm trying to set up Solaris 9 to run Oracle on raw partitions. I have my design nailed down and I have built all the raw partitions I need as soft partitions on top of RAID 1 volumes. All this is built using Solaris Volume Manager (SVM).
    However, all the partitions are still owned by root. Before I can create my Oracle database, I need to change the owner of the Oracle partitions to oracle:oinstall. The only reference I found telling me how to do this was in a Sun Blueprint and it essentially said "You can't change volume permissions directly or permanently using SVM and chown will only remain effective until the next reboot. To make the changes permanent, you must modify /etc/minor_perm". Unfortunately, I can't find an example of how to do this anywhere and the online man pages are not particularly helpful (at least not to me).
    I'd appreciate a quick pointer, either to a good online resource or, even better, a simple example. For background, the volumes Oracle needs to own are:
    /dev/md/rdsk/d101-109
    /dev/md/rdsk/d201-203
    /dev/md/rdsk/d301-303
    /dev/md/rdsk/d401-403
    /dev/md/rdsk/d501-505
    I provide this information because I'd like to assign some, but not all, of the devices under /dev/md/rdsk to the oracle user and I was hoping some smart person out there could illustrate an approach using simle regular expressions, at which I'm horribly poor.
    Thanks in advance,
    Adrian

    Ron, I feel your pain.  I just came from an HTC also and a lot of stuff with this iPhone is bugging the crap out of me.  Who makes a phone where you can't adjust the ringer and alert volumes independently?  Instead, I have to adjust the alert volume when it is active.  C'mon guys.  Get with the program.  You won a bunch of Android users over with the 4S, but you're going to chase us all back when we're done with our contract.  Frustrating.  

  • Libc/stdio bug in Solaris!?

    Hello,
    I was testing the following code using gcc + cc on Solaris 10 x86 & Solaris 8 sparc, both times it breaks. It breaks inside a call to fprintf. According to the man-pages I should not do a read after write without a flush/position change (which is done). I should not do a write after read without a position change or if the input reached the end of the file (which is the case here). So I assume that either I overlooked something or there is a subtle bug in the implementation stdio.
    Greeting
    Matthias Kretschmer
    The "bad guy":
    #include <stdlib.h>
    #include <stdio.h>
    int
    main(int argc, char **argv)
    FILE *fp;
    int i, j, k;
    int values[37];
    char buf[256];
    /* initialize values to bullshit */
    for (i=0; i<37; i++)
    values[i] = rand() % 32;
    /* open file */
    if ((fp = fopen("test.txt", "a+")) == NULL) {
    perror("fopen");
    exit(1);
    /* loop to write and then read all */
    for (j=0; j<100; j++) {
    printf("j=%d\n", j);
    /* loop for writing all */
    for (i=0; i<10000; i++) {
    for (k=0; k<37; k++)
    if (fprintf(fp, " %d", values[k]) < 0) {
    perror("fprintf");
    exit(1);
    if (fprintf(fp, "\n") < 0) {
    perror("fprintf");
    exit(1);
    printf("write done\n");
    /* seek to beginning */
    if (fseek(fp, 0, SEEK_SET) < 0) {
    perror("fseek");
    exit(1);
    printf("seek done\n");
    /* read in everything */
    while (fgets(buf, 256, fp) != NULL) ;
    /* with the following code it doesn't crash for me on Solaris */
    #if 0
    if (fseek(fp, 0, SEEK_END) < 0) {
    perror("fseek");
    exit(1);
    #endif
    printf("read done\n");
    }

    Hello.
    Please try if the "printf("seek done\n");" line has been reached by adding an "fflush(stdout);" after that line - otherwise you will not get the message if the program crashes. (If the program crashes the data written by successful fprintf()s will also be gone.)
    Maybe the "fgets(buf, 256, fp)" is the problem because buf is 256 bytes long - but it must be 257 (258 ?) bytes long due to the trailing NUL byte.
    Martin

Maybe you are looking for

  • I can't play my songs help!

    i thought i was making it easier for myself and my father to both have libraries on one computer so i changed the name of his to "dad's" and mine says my name. Now i cannot play any of his songs because it cannot find the original file. i tried some

  • Java.lang.ExceptionInInitializerError

    I am trying to create a link to another system from an existing application developed on Oracle9i JDeveloper 9.0.2.822 using java version 1.3.1_02. This uses an API provided by the Vendor of the target system (webMethods 6.1) which uses the entrust l

  • NetUI file upload creates temporary files without cleanup

    When using the NetUI File Upload in my web application, I notice that it stores temporary files in the server config directory. The file names are netxxxxx.tmp and they are never deleted on server startup/shutdown, etc. I am uploading large files (ab

  • LookUp API

    Hi, I am new to look ups, could anybody suggest me the step wise procedure to look up for a fields value in r/3 and store the list of values for that particular field in a Global Container in message mapping so that i can use it in mapping...if possi

  • Using a filter with selection?

    Hello, I am using CS6 extended with windows7 and am pretty new to Photoshop. What I am trying to do with a portrait image is use the Filter/Stylize/Diffuse/Anisotropic on everything but the face. I want to kee the face sharp but I love the effect the